/home/techb158/immovalet.com/database/seeders
Edit: /home/techb158/immovalet.com/database/seeders/ThemeOptionSeeder.php (3646B)
uploadFiles('general');
$theme = Theme::getThemeName();
SettingModel::where('key', 'LIKE', 'theme-' . $theme . '-%')->delete();
SettingModel::insertOrIgnore([
[
'key' => 'theme',
'value' => $theme,
],
[
'key' => 'theme-' . $theme . '-site_title',
'value' => 'Shopwise - Laravel Ecommerce system',
],
[
'key' => 'theme-' . $theme . '-copyright',
'value' => '© ' . now()->format('Y') . ' Botble Technologies. All Rights Reserved.',
],
[
'key' => 'theme-' . $theme . '-favicon',
'value' => 'general/favicon.png',
],
[
'key' => 'theme-' . $theme . '-logo',
'value' => 'general/logo.png',
],
[
'key' => 'theme-' . $theme . '-logo_footer',
'value' => 'general/logo-light.png',
],
[
'key' => 'theme-' . $theme . '-address',
'value' => '123 Street, Old Trafford, NewYork, USA',
],
[
'key' => 'theme-' . $theme . '-hotline',
'value' => '123-456-7890',
],
[
'key' => 'theme-' . $theme . '-email',
'value' => 'info@sitename.com',
],
[
'key' => 'theme-' . $theme . '-facebook',
'value' => 'https://facebook.com',
],
[
'key' => 'theme-' . $theme . '-twitter',
'value' => 'https://twitter.com',
],
[
'key' => 'theme-' . $theme . '-youtube',
'value' => 'https://youtube.com',
],
[
'key' => 'theme-' . $theme . '-instagram',
'value' => 'https://instagram.com',
],
[
'key' => 'theme-' . $theme . '-payment_methods',
'value' => json_encode([
'general/visa.png',
'general/paypal.png',
'general/master-card.png',
'general/discover.png',
'general/american-express.png',
]),
],
[
'key' => 'theme-' . $theme . '-newsletter_image',
'value' => 'general/newsletter.jpg',
],
[
'key' => 'theme-' . $theme . '-homepage_id',
'value' => '1',
],
[
'key' => 'theme-' . $theme . '-blog_page_id',
'value' => '3',
],
[
'key' => 'theme-' . $theme . '-cookie_consent_message',
'value' => 'Your experience on this site will be improved by allowing cookies ',
],
[
'key' => 'theme-' . $theme . '-cookie_consent_learn_more_url',
'value' => url('cookie-policy'),
],
[
'key' => 'theme-' . $theme . '-cookie_consent_learn_more_text',
'value' => 'Cookie Policy',
],
]);
}
}