mirror of
https://github.com/Cybrarist/Discount-Bandit.git
synced 2026-11-24 19:49:54 +01:00
670 lines
26 KiB
PHP
670 lines
26 KiB
PHP
<?php
|
|
|
|
namespace Database\Seeders;
|
|
|
|
use App\Helpers\CacheHelper;
|
|
use App\Models\Currency;
|
|
use App\Models\Store;
|
|
use Illuminate\Database\Seeder;
|
|
|
|
class StoreSeeder extends Seeder
|
|
{
|
|
/**
|
|
* Run the database seeds.
|
|
*/
|
|
public function run(): void
|
|
{
|
|
foreach ($this->stores() as $store) {
|
|
Store::withoutEvents(function () use ($store) {
|
|
$identifiers = [
|
|
'domain' => $store["domain"],
|
|
'name' => $store["name"],
|
|
"currency_id" => $store["currency_id"],
|
|
];
|
|
|
|
if (isset($store['short_url_hosts'])) {
|
|
$store['short_url_hosts'] = collect(Store::firstWhere($identifiers)?->short_url_hosts)
|
|
->merge($store['short_url_hosts'])
|
|
->unique()
|
|
->values()
|
|
->all();
|
|
}
|
|
|
|
Store::updateOrCreate($identifiers, $store);
|
|
});
|
|
|
|
}
|
|
|
|
CacheHelper::forget_short_url_hosts();
|
|
}
|
|
|
|
/**
|
|
* Predefined stores, matched on domain, name and currency.
|
|
*
|
|
* @return list<array<string, mixed>>
|
|
*/
|
|
protected function stores(): array
|
|
{
|
|
return [
|
|
[
|
|
'name' => 'Amazon UAE',
|
|
'domain' => 'amazon.ae',
|
|
'short_url_hosts' => ['a.co', 'amzn.to'],
|
|
'image' => 'amazon_ae.png',
|
|
'currency_id' => Currency::firstOrCreate(['code' => 'AED'])->id,
|
|
'slug' => 'amazon_ae',
|
|
'referral' => 'tag=YOURASSOCIATEID',
|
|
],
|
|
[
|
|
'name' => 'Amazon USA',
|
|
'domain' => 'amazon.com',
|
|
'short_url_hosts' => ['a.co', 'amzn.to'],
|
|
'image' => 'amazon.png',
|
|
'currency_id' => Currency::firstOrCreate(['code' => 'USD'])->id,
|
|
'slug' => 'amazon_com',
|
|
'referral' => 'tag=YOURASSOCIATEID',
|
|
|
|
],
|
|
[
|
|
'name' => 'Amazon UK',
|
|
'domain' => 'amazon.co.uk',
|
|
'short_url_hosts' => ['amzn.eu'],
|
|
'image' => 'amazon_co_uk.png',
|
|
'currency_id' => Currency::firstOrCreate(['code' => 'GBP'])->id,
|
|
'slug' => 'amazon_uk',
|
|
'referral' => 'tag=YOURASSOCIATEID',
|
|
],
|
|
[
|
|
'name' => 'Amazon Germany',
|
|
'domain' => 'amazon.de',
|
|
'image' => 'amazon_de.png',
|
|
'currency_id' => Currency::firstOrCreate(['code' => 'EUR'])->id,
|
|
'slug' => 'amazon_de',
|
|
'referral' => 'tag=YOURASSOCIATEID',
|
|
],
|
|
[
|
|
'name' => 'Amazon France',
|
|
'domain' => 'amazon.fr',
|
|
'image' => 'amazon_fr.png',
|
|
'currency_id' => Currency::firstOrCreate(['code' => 'EUR'])->id,
|
|
'slug' => 'amazon_fr',
|
|
'referral' => 'tag=YOURASSOCIATEID',
|
|
],
|
|
[
|
|
'name' => 'Amazon Italy',
|
|
'domain' => 'amazon.it',
|
|
'image' => 'amazon_it.png',
|
|
'currency_id' => Currency::firstOrCreate(['code' => 'EUR'])->id,
|
|
'slug' => 'amazon_it',
|
|
'referral' => 'tag=YOURASSOCIATEID',
|
|
],
|
|
[
|
|
'name' => 'Amazon Saudi Arabia',
|
|
'domain' => 'amazon.sa',
|
|
'image' => 'amazon_sa.png',
|
|
'currency_id' => Currency::firstOrCreate(['code' => 'SAR'])->id,
|
|
'slug' => 'amazon_sa',
|
|
'referral' => 'tag=YOURASSOCIATEID',
|
|
],
|
|
[
|
|
'name' => 'Amazon Spain',
|
|
'domain' => 'amazon.es',
|
|
'image' => 'amazon_es.png',
|
|
'currency_id' => Currency::firstOrCreate(['code' => 'EUR'])->id,
|
|
'slug' => 'amazon_es',
|
|
'referral' => 'tag=YOURASSOCIATEID',
|
|
],
|
|
[
|
|
'name' => 'Amazon Poland',
|
|
'domain' => 'amazon.pl',
|
|
'image' => 'amazon_pl.png',
|
|
'currency_id' => Currency::firstOrCreate(['code' => 'PLN'])->id,
|
|
'slug' => 'amazon_pl',
|
|
'referral' => 'tag=YOURASSOCIATEID',
|
|
],
|
|
[
|
|
'name' => 'Amazon Turkey',
|
|
'domain' => 'amazon.com.tr',
|
|
'image' => 'amazon_com_tr.png',
|
|
'currency_id' => Currency::firstOrCreate(['code' => 'TRY'])->id,
|
|
'slug' => 'amazon_com_tr',
|
|
'referral' => 'tag=YOURASSOCIATEID',
|
|
],
|
|
[
|
|
'name' => 'Amazon Australia',
|
|
'domain' => 'amazon.com.au',
|
|
'image' => 'amazon_com_au.png',
|
|
'currency_id' => Currency::firstOrCreate(['code' => 'AUD'])->id,
|
|
'slug' => 'amazon_com_au',
|
|
'referral' => 'tag=YOURASSOCIATEID',
|
|
],
|
|
[
|
|
'name' => 'Amazon Brazil',
|
|
'domain' => 'amazon.com.br',
|
|
'image' => 'amazon_com_br.png',
|
|
'currency_id' => Currency::firstOrCreate(['code' => 'BRL'])->id,
|
|
'slug' => 'amazon_com_br',
|
|
'referral' => 'tag=YOURASSOCIATEID',
|
|
],
|
|
[
|
|
'name' => 'Amazon Canada',
|
|
'domain' => 'amazon.ca',
|
|
'image' => 'amazon_ca.png',
|
|
'currency_id' => Currency::firstOrCreate(['code' => 'CAD'])->id,
|
|
'slug' => 'amazon_ca',
|
|
'referral' => 'tag=YOURASSOCIATEID',
|
|
],
|
|
[
|
|
'name' => 'Amazon China',
|
|
'domain' => 'amazon.cn',
|
|
'image' => 'amazon.png',
|
|
'currency_id' => Currency::firstOrCreate(['code' => 'CNY'])->id,
|
|
'slug' => 'amazon_tr',
|
|
'referral' => 'tag=YOURASSOCIATEID',
|
|
],
|
|
[
|
|
'name' => 'Amazon Egypt',
|
|
'domain' => 'amazon.eg',
|
|
'image' => 'amazon_eg.png',
|
|
'currency_id' => Currency::firstOrCreate(['code' => 'EGP'])->id,
|
|
'slug' => 'amazon_eg',
|
|
'referral' => 'tag=YOURASSOCIATEID',
|
|
],
|
|
[
|
|
'name' => 'Amazon Japan',
|
|
'domain' => 'amazon.co.jp',
|
|
'short_url_hosts' => ['amzn.asia'],
|
|
'image' => 'amazon_co_jp.png',
|
|
'currency_id' => Currency::firstOrCreate(['code' => 'JPY'])->id,
|
|
'slug' => 'amazon_co_jp',
|
|
'referral' => 'tag=YOURASSOCIATEID',
|
|
],
|
|
[
|
|
'name' => 'Amazon India',
|
|
'domain' => 'amazon.in',
|
|
'image' => 'amazon_in.png',
|
|
'currency_id' => Currency::firstOrCreate(['code' => 'INR'])->id,
|
|
'slug' => 'amazon_in',
|
|
'referral' => 'tag=YOURASSOCIATEID',
|
|
],
|
|
[
|
|
'name' => 'Amazon Mexicon',
|
|
'domain' => 'amazon.com.mx',
|
|
'image' => 'amazon_com_mx.png',
|
|
'currency_id' => Currency::firstOrCreate(['code' => 'MXN'])->id,
|
|
'slug' => 'amazon_com_mx',
|
|
'referral' => 'tag=YOURASSOCIATEID',
|
|
],
|
|
[
|
|
'name' => 'Amazon Netherlands',
|
|
'domain' => 'amazon.nl',
|
|
'image' => 'amazon_nl.png',
|
|
'currency_id' => Currency::firstOrCreate(['code' => 'EUR'])->id,
|
|
'slug' => 'amazon_nl',
|
|
'referral' => 'tag=YOURASSOCIATEID',
|
|
],
|
|
[
|
|
'name' => 'Amazon Singapore',
|
|
'domain' => 'amazon.sg',
|
|
'image' => 'amazon_sg.png',
|
|
'currency_id' => Currency::firstOrCreate(['code' => 'SGD'])->id,
|
|
'slug' => 'amazon_sg',
|
|
'referral' => 'tag=YOURASSOCIATEID',
|
|
],
|
|
[
|
|
'name' => 'Amazon Sweden',
|
|
'domain' => 'amazon.se',
|
|
'image' => 'amazon_se.png',
|
|
'currency_id' => Currency::firstOrCreate(['code' => 'SEK'])->id,
|
|
'slug' => 'amazon_se',
|
|
'referral' => 'tag=YOURASSOCIATEID',
|
|
],
|
|
[
|
|
'name' => 'Amazon Belgium',
|
|
'domain' => 'amazon.com.be',
|
|
'image' => 'amazon.png',
|
|
'currency_id' => Currency::firstOrCreate(['code' => 'EUR'])->id,
|
|
'slug' => 'amazon_com_be',
|
|
'referral' => 'tag=YOURASSOCIATEID',
|
|
],
|
|
[
|
|
'name' => 'Argos UK',
|
|
'domain' => 'argos.co.uk',
|
|
'image' => 'argos.png',
|
|
'currency_id' => Currency::firstOrCreate(['code' => 'GBP'])->id,
|
|
'slug' => 'argos_co_uk',
|
|
],
|
|
[
|
|
'name' => 'DIY',
|
|
'domain' => 'diy.com',
|
|
'image' => 'diy_com.svg',
|
|
'currency_id' => Currency::firstOrCreate(['code' => 'GBP'])->id,
|
|
'slug' => 'diy_com',
|
|
],
|
|
[
|
|
'name' => 'Ebay',
|
|
'domain' => 'ebay.com',
|
|
'short_url_hosts' => ['ebay.us'],
|
|
'image' => 'ebay.png',
|
|
'currency_id' => Currency::firstOrCreate(['code' => 'USD'])->id,
|
|
'slug' => 'ebay_com',
|
|
],
|
|
[
|
|
'name' => 'Fnac',
|
|
'domain' => 'fnac.com',
|
|
'image' => 'fnac_com.svg',
|
|
'currency_id' => Currency::firstOrCreate(['code' => 'EUR'])->id,
|
|
'slug' => 'fnac_com',
|
|
],
|
|
[
|
|
'name' => 'Target',
|
|
'domain' => 'target.com',
|
|
'image' => 'target.svg',
|
|
'currency_id' => Currency::firstOrCreate(['code' => 'USD'])->id,
|
|
'slug' => 'target_com',
|
|
],
|
|
[
|
|
'name' => 'Walmart USA',
|
|
'domain' => 'walmart.com',
|
|
'image' => 'walmart.png',
|
|
'currency_id' => Currency::firstOrCreate(['code' => 'USD'])->id,
|
|
'slug' => 'walmart_com',
|
|
],
|
|
[
|
|
'name' => 'Walmart Canada',
|
|
'domain' => 'walmart.ca',
|
|
'image' => 'walmart.png',
|
|
'currency_id' => Currency::firstOrCreate(['code' => 'USD'])->id,
|
|
'slug' => 'walmart_ca',
|
|
],
|
|
[
|
|
'name' => 'Noon UAE',
|
|
'domain' => 'noon.com',
|
|
'image' => 'noon.svg',
|
|
'currency_id' => Currency::firstOrCreate(['code' => 'AED'])->id,
|
|
'slug' => 'noon_com',
|
|
], [
|
|
'name' => 'Noon Egypt',
|
|
'domain' => 'noon.com',
|
|
'image' => 'noon.svg',
|
|
'currency_id' => Currency::firstOrCreate(['code' => 'EGP'])->id,
|
|
'slug' => 'noon_com',
|
|
], [
|
|
'name' => 'Noon Saudi',
|
|
'domain' => 'noon.com',
|
|
'image' => 'noon.svg',
|
|
'currency_id' => Currency::firstOrCreate(['code' => 'SAR'])->id,
|
|
'slug' => 'noon_com',
|
|
], [
|
|
'name' => 'Noon Kuwait',
|
|
'domain' => 'noon.com',
|
|
'image' => 'noon.svg',
|
|
'currency_id' => Currency::firstOrCreate(['code' => 'KWD'])->id,
|
|
'slug' => 'noon_com',
|
|
], [
|
|
'name' => 'Noon Bahrain',
|
|
'domain' => 'noon.com',
|
|
'image' => 'noon.svg',
|
|
'currency_id' => Currency::firstOrCreate(['code' => 'BHD'])->id,
|
|
'slug' => 'noon_com',
|
|
], [
|
|
'name' => 'Noon Qatar',
|
|
'domain' => 'noon.com',
|
|
'image' => 'noon.svg',
|
|
'currency_id' => Currency::firstOrCreate(['code' => 'QAR'])->id,
|
|
'slug' => 'noon_com',
|
|
], [
|
|
'name' => 'Noon Oman',
|
|
'domain' => 'noon.com',
|
|
'image' => 'noon.svg',
|
|
'currency_id' => Currency::firstOrCreate(['code' => 'OMR'])->id,
|
|
'slug' => 'noon_com',
|
|
],
|
|
[
|
|
'name' => 'Costco',
|
|
'domain' => 'costco.com',
|
|
'image' => 'costco.svg',
|
|
'currency_id' => Currency::firstOrCreate(['code' => 'USD'])->id,
|
|
'slug' => 'costco_com',
|
|
],
|
|
[
|
|
'name' => 'Costco Australia',
|
|
'domain' => 'costco.com.au',
|
|
'image' => 'costco.svg',
|
|
'currency_id' => Currency::firstOrCreate(['code' => 'USD'])->id,
|
|
'slug' => 'costco_com_au',
|
|
],
|
|
[
|
|
'name' => 'Costco Canada',
|
|
'domain' => 'costco.ca',
|
|
'image' => 'costco.svg',
|
|
'currency_id' => Currency::firstOrCreate(['code' => 'USD'])->id,
|
|
'slug' => 'costco_ca',
|
|
],
|
|
[
|
|
'name' => 'Costco Iceland',
|
|
'domain' => 'costco.is',
|
|
'image' => 'costco.svg',
|
|
'currency_id' => Currency::firstOrCreate(['code' => 'ISK'])->id,
|
|
'slug' => 'costco_is',
|
|
],
|
|
[
|
|
'name' => 'Costco Japan',
|
|
'domain' => 'costco.co.jp',
|
|
'image' => 'costco.svg',
|
|
'currency_id' => Currency::firstOrCreate(['code' => 'JPY'])->id,
|
|
'slug' => 'costco_co_jp',
|
|
],
|
|
[
|
|
'name' => 'Costco Korea',
|
|
'domain' => 'costco.co.kr',
|
|
'image' => 'costco.svg',
|
|
'currency_id' => Currency::firstOrCreate(['code' => 'KRW'])->id,
|
|
'slug' => 'costco_co_kr',
|
|
],
|
|
[
|
|
'name' => 'Costco Mexico',
|
|
'domain' => 'costco.com.mx',
|
|
'image' => 'costco.svg',
|
|
'currency_id' => Currency::firstOrCreate(['code' => 'USD'])->id,
|
|
'slug' => 'costco_com_mx',
|
|
],
|
|
[
|
|
'name' => 'Costco Taiwan',
|
|
'domain' => 'costco.com.tw',
|
|
'image' => 'costco.svg',
|
|
'currency_id' => Currency::firstOrCreate(['code' => 'USD'])->id,
|
|
'slug' => 'costco_com_tw',
|
|
],
|
|
[
|
|
'name' => 'Costco UK',
|
|
'domain' => 'costco.co.uk',
|
|
'image' => 'costco.svg',
|
|
'currency_id' => Currency::firstOrCreate(['code' => 'GBP'])->id,
|
|
'slug' => 'costco_co_uk',
|
|
],
|
|
[
|
|
'name' => 'Currys',
|
|
'domain' => 'currys.co.uk',
|
|
'image' => 'currys.svg',
|
|
'currency_id' => Currency::firstOrCreate(['code' => 'GBP'])->id,
|
|
'slug' => 'currys_co_uk',
|
|
],
|
|
[
|
|
'name' => 'Canadian Tire',
|
|
'domain' => 'canadiantire.ca',
|
|
'image' => 'canadiantire.png',
|
|
'currency_id' => Currency::firstOrCreate(['code' => 'USD'])->id,
|
|
'slug' => 'canadiantire_ca',
|
|
],
|
|
[
|
|
'name' => 'Princess Auto',
|
|
'domain' => 'princessauto.com',
|
|
'image' => 'princessauto.svg',
|
|
'currency_id' => Currency::firstOrCreate(['code' => 'CAD'])->id,
|
|
'slug' => 'princessauto_com',
|
|
],
|
|
[
|
|
'name' => 'Media Market Spain',
|
|
'domain' => 'mediamarkt.es',
|
|
'image' => 'mediamarkt.png',
|
|
'currency_id' => Currency::firstOrCreate(['code' => 'EUR'])->id,
|
|
'slug' => 'mediamarkt_es',
|
|
],
|
|
[
|
|
'name' => 'Media Markt Belgium',
|
|
'domain' => 'mediamarkt.be',
|
|
'image' => 'mediamarkt.png',
|
|
'currency_id' => Currency::firstOrCreate(['code' => 'EUR'])->id,
|
|
'slug' => 'mediamarkt_be',
|
|
],
|
|
[
|
|
'name' => 'Media Markt Germany',
|
|
'domain' => 'mediamarkt.de',
|
|
'image' => 'mediamarkt.png',
|
|
'currency_id' => Currency::firstOrCreate(['code' => 'EUR'])->id,
|
|
'slug' => 'mediamarkt_de',
|
|
],
|
|
[
|
|
'name' => 'Best Buy',
|
|
'domain' => 'bestbuy.com',
|
|
'image' => 'bestbuy.svg',
|
|
'currency_id' => Currency::firstOrCreate(['code' => 'USD'])->id,
|
|
'slug' => 'bestbuy_com',
|
|
], [
|
|
'name' => 'Best Buy Canada',
|
|
'domain' => 'bestbuy.ca',
|
|
'image' => 'bestbuy.svg',
|
|
'currency_id' => Currency::firstOrCreate(['code' => 'CAD'])->id,
|
|
'slug' => 'bestbuy_ca',
|
|
], [
|
|
'name' => 'Emax UAE',
|
|
'domain' => 'emaxme.com',
|
|
'image' => 'emax.png',
|
|
'currency_id' => Currency::firstOrCreate(['code' => 'AED'])->id,
|
|
'slug' => 'uae_emaxme_com',
|
|
],
|
|
[
|
|
'name' => 'Ebay Germany',
|
|
'domain' => 'ebay.de',
|
|
'image' => 'ebay.png',
|
|
'currency_id' => Currency::firstOrCreate(['code' => 'EUR'])->id,
|
|
'slug' => 'ebay_de',
|
|
],
|
|
[
|
|
'name' => 'FlipKart',
|
|
'domain' => 'flipkart.com',
|
|
'short_url_hosts' => ['fkrt.it'],
|
|
'image' => 'flipkart.svg',
|
|
'currency_id' => Currency::firstOrCreate(['code' => 'INR'])->id,
|
|
'slug' => 'flipkart_com',
|
|
],
|
|
[
|
|
'name' => 'Myntra',
|
|
'domain' => 'myntra.com',
|
|
'image' => 'myntra.png',
|
|
'currency_id' => Currency::firstOrCreate(['code' => 'INR'])->id,
|
|
'slug' => 'myntra_com',
|
|
],
|
|
[
|
|
'name' => 'Snapdeal',
|
|
'domain' => 'snapdeal.com',
|
|
'image' => 'snapdeal.png',
|
|
'currency_id' => Currency::firstOrCreate(['code' => 'INR'])->id,
|
|
'slug' => 'snapdeal_com',
|
|
], [
|
|
'name' => 'Nykaa',
|
|
'domain' => 'nykaa.com',
|
|
'image' => 'nykaa.svg',
|
|
'currency_id' => Currency::firstOrCreate(['code' => 'INR'])->id,
|
|
'slug' => 'nykaa_com',
|
|
], [
|
|
'name' => 'Tata Cliq',
|
|
'domain' => 'tatacliq.com',
|
|
'image' => 'tatacliq.svg',
|
|
'currency_id' => Currency::firstOrCreate(['code' => 'INR'])->id,
|
|
'slug' => 'tatacliq_com',
|
|
],
|
|
[
|
|
'name' => 'Ajio',
|
|
'domain' => 'ajio.com',
|
|
'image' => 'ajio.svg',
|
|
'currency_id' => Currency::firstOrCreate(['code' => 'INR'])->id,
|
|
'slug' => 'ajio_com',
|
|
],
|
|
[
|
|
'name' => 'Newegg USA',
|
|
'domain' => 'newegg.com',
|
|
'image' => 'newegg.svg',
|
|
'currency_id' => Currency::firstOrCreate(['code' => 'USD'])->id,
|
|
'slug' => 'newegg_com',
|
|
], [
|
|
'name' => 'Newegg Argentina',
|
|
'domain' => 'newegg.com',
|
|
'image' => 'newegg.svg',
|
|
'currency_id' => Currency::firstOrCreate(['code' => 'USD'])->id,
|
|
'slug' => 'newegg_com',
|
|
], [
|
|
'name' => 'Newegg Australia',
|
|
'domain' => 'newegg.com',
|
|
'image' => 'newegg.svg',
|
|
'currency_id' => Currency::firstOrCreate(['code' => 'AUD'])->id,
|
|
'slug' => 'newegg_com',
|
|
], [
|
|
'name' => 'Newegg Bahrain',
|
|
'domain' => 'newegg.com',
|
|
'image' => 'newegg.svg',
|
|
'currency_id' => Currency::firstOrCreate(['code' => 'BHD'])->id,
|
|
'slug' => 'newegg_com',
|
|
], [
|
|
'name' => 'Newegg Canada',
|
|
'domain' => 'newegg.ca',
|
|
'image' => 'newegg.svg',
|
|
'currency_id' => Currency::firstOrCreate(['code' => 'CAD'])->id,
|
|
'slug' => 'newegg_com',
|
|
], [
|
|
'name' => 'Newegg Hong Kong',
|
|
'domain' => 'newegg.com',
|
|
'image' => 'newegg.svg',
|
|
'currency_id' => Currency::firstOrCreate(['code' => 'HKD'])->id,
|
|
'slug' => 'newegg_com',
|
|
], [
|
|
'name' => 'Newegg Occupied Palestine',
|
|
'domain' => 'newegg.com',
|
|
'image' => 'newegg.svg',
|
|
'currency_id' => Currency::firstOrCreate(['code' => 'ILS'])->id,
|
|
'slug' => 'newegg_com',
|
|
], [
|
|
'name' => 'Newegg Japan',
|
|
'domain' => 'newegg.com',
|
|
'image' => 'newegg.svg',
|
|
'currency_id' => Currency::firstOrCreate(['code' => 'JPY'])->id,
|
|
'slug' => 'newegg_com',
|
|
], [
|
|
'name' => 'Newegg Kuwait',
|
|
'domain' => 'newegg.com',
|
|
'image' => 'newegg.svg',
|
|
'currency_id' => Currency::firstOrCreate(['code' => 'KWD'])->id,
|
|
'slug' => 'newegg_com',
|
|
], [
|
|
'name' => 'Newegg Mexico',
|
|
'domain' => 'newegg.com',
|
|
'image' => 'newegg.svg',
|
|
'currency_id' => Currency::firstOrCreate(['code' => 'MXN'])->id,
|
|
'slug' => 'newegg_com',
|
|
], [
|
|
'name' => 'Newegg New Zealand',
|
|
'domain' => 'newegg.com',
|
|
'image' => 'newegg.svg',
|
|
'currency_id' => Currency::firstOrCreate(['code' => 'NZD'])->id,
|
|
'slug' => 'newegg_com',
|
|
], [
|
|
'name' => 'Newegg Oman',
|
|
'domain' => 'newegg.com',
|
|
'image' => 'newegg.svg',
|
|
'currency_id' => Currency::firstOrCreate(['code' => 'OMR'])->id,
|
|
'slug' => 'newegg_com',
|
|
], [
|
|
'name' => 'Newegg Philippines',
|
|
'domain' => 'newegg.com',
|
|
'image' => 'newegg.svg',
|
|
'currency_id' => Currency::firstOrCreate(['code' => 'PHP'])->id,
|
|
'slug' => 'newegg_com',
|
|
], [
|
|
'name' => 'Newegg Qatar',
|
|
'domain' => 'newegg.com',
|
|
'image' => 'newegg.svg',
|
|
'currency_id' => Currency::firstOrCreate(['code' => 'QAR'])->id,
|
|
'slug' => 'newegg_com',
|
|
], [
|
|
'name' => 'Newegg Saudi Arabia',
|
|
'domain' => 'newegg.com',
|
|
'image' => 'newegg.svg',
|
|
'currency_id' => Currency::firstOrCreate(['code' => 'SAR'])->id,
|
|
'slug' => 'newegg_com',
|
|
], [
|
|
'name' => 'Newegg Singapore',
|
|
'domain' => 'newegg.com',
|
|
'image' => 'newegg.svg',
|
|
'currency_id' => Currency::firstOrCreate(['code' => 'SGD'])->id,
|
|
'slug' => 'newegg_com',
|
|
], [
|
|
'name' => 'Newegg South Korea',
|
|
'domain' => 'newegg.com',
|
|
'image' => 'newegg.svg',
|
|
'currency_id' => Currency::firstOrCreate(['code' => 'KRW'])->id,
|
|
'slug' => 'newegg_com',
|
|
], [
|
|
'name' => 'Newegg Thailand',
|
|
'domain' => 'newegg.com',
|
|
'image' => 'newegg.svg',
|
|
'currency_id' => Currency::firstOrCreate(['code' => 'THB'])->id,
|
|
'slug' => 'newegg_com',
|
|
], [
|
|
'name' => 'Newegg UAE',
|
|
'domain' => 'newegg.com',
|
|
'image' => 'newegg.svg',
|
|
'currency_id' => Currency::firstOrCreate(['code' => 'AED'])->id,
|
|
'slug' => 'newegg_com',
|
|
], [
|
|
'name' => 'Newegg UK',
|
|
'domain' => 'newegg.com',
|
|
'image' => 'newegg.svg',
|
|
'currency_id' => Currency::firstOrCreate(['code' => 'GBP'])->id,
|
|
'slug' => 'newegg_com',
|
|
],
|
|
[
|
|
'name' => 'Microless UAE',
|
|
'domain' => 'microless.com',
|
|
'image' => 'microless.svg',
|
|
'currency_id' => Currency::firstOrCreate(['code' => 'AED'])->id,
|
|
'slug' => 'microless_com',
|
|
], [
|
|
'name' => 'Microless Global',
|
|
'domain' => 'microless.com',
|
|
'image' => 'microless.svg',
|
|
'currency_id' => Currency::firstOrCreate(['code' => 'USD'])->id,
|
|
'slug' => 'microless_com',
|
|
], [
|
|
'name' => 'Next Hardware & Software',
|
|
'domain' => 'nexths.it',
|
|
'image' => 'nexths.png',
|
|
'currency_id' => Currency::firstOrCreate(['code' => 'EUR'])->id,
|
|
'slug' => 'nexths_it',
|
|
], [
|
|
'name' => 'Eprice',
|
|
'domain' => 'eprice.it',
|
|
'image' => 'eprice.png',
|
|
'currency_id' => Currency::firstOrCreate(['code' => 'EUR'])->id,
|
|
'slug' => 'eprice_it',
|
|
], [
|
|
'name' => 'Homedepot USA',
|
|
'domain' => 'homedepot.com',
|
|
'image' => 'homedepot.svg',
|
|
'currency_id' => Currency::firstOrCreate(['code' => 'USD'])->id,
|
|
'slug' => 'homedepot_com',
|
|
], [
|
|
'name' => 'Homedepot Canada',
|
|
'domain' => 'homedepot.ca',
|
|
'image' => 'homedepot.svg',
|
|
'currency_id' => Currency::firstOrCreate(['code' => 'CAD'])->id,
|
|
'slug' => 'homedepot_ca',
|
|
],
|
|
[
|
|
'name' => 'Otaku ME',
|
|
'domain' => 'otakume.com',
|
|
'image' => 'otakume.png',
|
|
'currency_id' => Currency::firstOrCreate(['code' => 'AED'])->id,
|
|
'slug' => 'otakume_com',
|
|
], [
|
|
'name' => 'Aliexpress',
|
|
'domain' => 'aliexpress.com',
|
|
'short_url_hosts' => ['a.aliexpress.com', 's.click.aliexpress.com'],
|
|
'image' => 'aliexpress.svg',
|
|
'currency_id' => Currency::firstOrCreate(['code' => 'USD'])->id,
|
|
'slug' => 'aliexpress_com',
|
|
],
|
|
];
|
|
}
|
|
}
|