mirror of
https://github.com/opelly27/streetmerchant.git
synced 2026-05-20 06:27:38 +00:00
feat(store): add EBGames (#1281)
This commit is contained in:
@@ -66,6 +66,7 @@ Used with the `STORES` variable.
|
|||||||
| Corsair | US | `corsair`|
|
| Corsair | US | `corsair`|
|
||||||
| Currys | UK | `currys`|
|
| Currys | UK | `currys`|
|
||||||
| Cyberport | DE | `cyberport` |
|
| Cyberport | DE | `cyberport` |
|
||||||
|
| EBGames | CA | `ebgames`|
|
||||||
| eBuyer | UK | `ebuyer`|
|
| eBuyer | UK | `ebuyer`|
|
||||||
| El Corte Inglés | US | `elcorteingles`|
|
| El Corte Inglés | US | `elcorteingles`|
|
||||||
| ePrice | IT | `eprice`|
|
| ePrice | IT | `eprice`|
|
||||||
|
|||||||
@@ -0,0 +1,49 @@
|
|||||||
|
import {Store} from './store';
|
||||||
|
|
||||||
|
export const EbGames: Store = {
|
||||||
|
labels: {
|
||||||
|
maxPrice: {
|
||||||
|
container: '.singleVariantText .prodPriceCont'
|
||||||
|
},
|
||||||
|
outOfStock: {
|
||||||
|
container: '#btnAddToCart[style*="display:none;"] ',
|
||||||
|
text: ['add to cart']
|
||||||
|
}
|
||||||
|
},
|
||||||
|
links: [
|
||||||
|
{
|
||||||
|
brand: 'test:brand',
|
||||||
|
model: 'test:model',
|
||||||
|
series: 'test:series',
|
||||||
|
url:
|
||||||
|
'https://www.ebgames.ca/Switch/Games/727918/mario-kart-8-deluxe'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'sony',
|
||||||
|
model: 'ps5 console',
|
||||||
|
series: 'sonyps5c',
|
||||||
|
url: 'https://www.ebgames.ca/PS5/Games/877522'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'sony',
|
||||||
|
model: 'ps5 digital',
|
||||||
|
series: 'sonyps5de',
|
||||||
|
url: 'https://www.ebgames.ca/PS5/Games/877523'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'microsoft',
|
||||||
|
model: 'xbox series x',
|
||||||
|
series: 'xboxsx',
|
||||||
|
url:
|
||||||
|
'https://www.ebgames.ca/Xbox%20Series%20X/Games/877779/xbox-series-x'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'microsoft',
|
||||||
|
model: 'xbox series s',
|
||||||
|
series: 'xboxss',
|
||||||
|
url:
|
||||||
|
'https://www.ebgames.ca/Xbox%20Series%20X/Games/877780/xbox-series-s'
|
||||||
|
}
|
||||||
|
],
|
||||||
|
name: 'ebgames'
|
||||||
|
};
|
||||||
@@ -37,6 +37,7 @@ import {Coolmod} from './coolmod';
|
|||||||
import {Corsair} from './corsair';
|
import {Corsair} from './corsair';
|
||||||
import {Currys} from './currys';
|
import {Currys} from './currys';
|
||||||
import {Cyberport} from './cyberport';
|
import {Cyberport} from './cyberport';
|
||||||
|
import {EbGames} from './ebgames';
|
||||||
import {Ebuyer} from './ebuyer';
|
import {Ebuyer} from './ebuyer';
|
||||||
import {Elcorteingles} from './elcorteingles';
|
import {Elcorteingles} from './elcorteingles';
|
||||||
import {Eprice} from './eprice';
|
import {Eprice} from './eprice';
|
||||||
@@ -127,6 +128,7 @@ export const storeList = new Map([
|
|||||||
[Corsair.name, Corsair],
|
[Corsair.name, Corsair],
|
||||||
[Currys.name, Currys],
|
[Currys.name, Currys],
|
||||||
[Cyberport.name, Cyberport],
|
[Cyberport.name, Cyberport],
|
||||||
|
[EbGames.name, EbGames],
|
||||||
[Ebuyer.name, Ebuyer],
|
[Ebuyer.name, Ebuyer],
|
||||||
[Elcorteingles.name, Elcorteingles],
|
[Elcorteingles.name, Elcorteingles],
|
||||||
[Eprice.name, Eprice],
|
[Eprice.name, Eprice],
|
||||||
|
|||||||
Reference in New Issue
Block a user