Skip to content

Commit

Permalink
Merge pull request #33 from rmelotte/add-support-for-mediamarkt-be
Browse files Browse the repository at this point in the history
Add support for mediamarkt be
  • Loading branch information
Cybrarist authored Dec 4, 2024
2 parents b15368f + 30dd745 commit f2850c9
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 1 deletion.
9 changes: 8 additions & 1 deletion database/seeders/StoreSeeder.php
Original file line number Diff line number Diff line change
Expand Up @@ -326,10 +326,17 @@ public function run(): void
[
'name'=>'Media Market Spain',
'domain'=>'mediamarkt.es',
'image'=>'mediamarket.png',
'image'=>'mediamarkt.png',
'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',
Expand Down
16 changes: 16 additions & 0 deletions public/js/stores.js
Original file line number Diff line number Diff line change
Expand Up @@ -336,6 +336,22 @@ const stores={
currency:'£',
color:'blue',
},
{
id:43,
name:'Mediamarkt es',
url:'https://www.mediamarkt.es/fr/product/product_id.html',
image:'mediamarkt.png',
currency:'€',
color:'red',
},
{
id:44,
name:'Mediamarkt be',
url:'https://www.mediamarkt.be/fr/product/product_id.html',
image:'mediamarkt.png',
currency:'€',
color:'red',
},

],

Expand Down
Binary file added storage/app/public/store/mediamarkt.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit f2850c9

Please sign in to comment.