From 30dd745675e6b008377711defac1820777d42f19 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20M=C3=A9lotte?= Date: Wed, 4 Dec 2024 17:07:06 +0100 Subject: [PATCH] Add mediamarkt.be MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Mediamarkt.be already works using the same code as for mediamarkt.es. Signed-off-by: Raphaël Mélotte --- database/seeders/StoreSeeder.php | 7 +++++++ public/js/stores.js | 8 ++++++++ 2 files changed, 15 insertions(+) diff --git a/database/seeders/StoreSeeder.php b/database/seeders/StoreSeeder.php index 91e7b8f..e6d28ea 100644 --- a/database/seeders/StoreSeeder.php +++ b/database/seeders/StoreSeeder.php @@ -330,6 +330,13 @@ public function run(): void 'currency_id'=>Currency::firstOrCreate(['code'=>'€'])->id, 'slug'=>'mediamarkt_es' ], + [ + 'name'=>'Media Markt Belgium', + 'domain'=>'mediamarkt.be', + 'image'=>'mediamarkt.png', + 'currency_id'=>Currency::firstOrCreate(['code'=>'€'])->id, + 'slug'=>'mediamarkt_be' + ], [ 'name'=>'Best Buy', 'domain'=>'bestbuy.com', diff --git a/public/js/stores.js b/public/js/stores.js index bf7b59a..88ad137 100644 --- a/public/js/stores.js +++ b/public/js/stores.js @@ -344,6 +344,14 @@ const stores={ currency:'€', color:'red', }, + { + id:44, + name:'Mediamarkt be', + url:'https://www.mediamarkt.be/fr/product/product_id.html', + image:'mediamarkt.png', + currency:'€', + color:'red', + }, ],