mirror of
https://github.com/opelly27/streetmerchant.git
synced 2026-05-20 04:07:36 +00:00
feat(store): add smythstoys
Signed-off-by: Jef LeCompte <jeffreylec@gmail.com>
This commit is contained in:
@@ -211,6 +211,7 @@ environment variables are **optional**._
|
|||||||
| Proshop (DK) | `proshop-dk`|
|
| Proshop (DK) | `proshop-dk`|
|
||||||
| Saturn (DE) | `saturn`|
|
| Saturn (DE) | `saturn`|
|
||||||
| Scan (UK) | `scan`|
|
| Scan (UK) | `scan`|
|
||||||
|
| Smyths Toys (UK) | `smythstoys`|
|
||||||
| Spielegrotte | `spielegrotte`|
|
| Spielegrotte | `spielegrotte`|
|
||||||
| Target | `target`|
|
| Target | `target`|
|
||||||
| Unieuro (IT) | `unieuro`|
|
| Unieuro (IT) | `unieuro`|
|
||||||
|
|||||||
@@ -69,6 +69,7 @@ import {ProshopDE} from './proshop-de';
|
|||||||
import {ProshopDK} from './proshop-dk';
|
import {ProshopDK} from './proshop-dk';
|
||||||
import {Saturn} from './saturn';
|
import {Saturn} from './saturn';
|
||||||
import {Scan} from './scan';
|
import {Scan} from './scan';
|
||||||
|
import {SmythsToys} from './smythstoys';
|
||||||
import {Spielegrotte} from './spielegrotte';
|
import {Spielegrotte} from './spielegrotte';
|
||||||
import {Store} from './store';
|
import {Store} from './store';
|
||||||
import {Target} from './target';
|
import {Target} from './target';
|
||||||
@@ -153,6 +154,7 @@ export const storeList = new Map([
|
|||||||
[ProshopDK.name, ProshopDK],
|
[ProshopDK.name, ProshopDK],
|
||||||
[Saturn.name, Saturn],
|
[Saturn.name, Saturn],
|
||||||
[Scan.name, Scan],
|
[Scan.name, Scan],
|
||||||
|
[SmythsToys.name, SmythsToys],
|
||||||
[Spielegrotte.name, Spielegrotte],
|
[Spielegrotte.name, Spielegrotte],
|
||||||
[Target.name, Target],
|
[Target.name, Target],
|
||||||
[TopAchat.name, TopAchat],
|
[TopAchat.name, TopAchat],
|
||||||
|
|||||||
@@ -0,0 +1,38 @@
|
|||||||
|
import {Store} from './store';
|
||||||
|
|
||||||
|
export const SmythsToys: Store = {
|
||||||
|
labels: {
|
||||||
|
inStock: {
|
||||||
|
container: '#addToCartButton',
|
||||||
|
text: ['add to basket']
|
||||||
|
},
|
||||||
|
maxPrice: {
|
||||||
|
container: '.price_tag',
|
||||||
|
euroFormat: false
|
||||||
|
}
|
||||||
|
},
|
||||||
|
links: [
|
||||||
|
{
|
||||||
|
brand: 'test:brand',
|
||||||
|
model: 'test:model',
|
||||||
|
series: 'test:series',
|
||||||
|
url:
|
||||||
|
'https://www.smythstoys.com/uk/en-gb/video-games-and-tablets/video-games/call-of-duty-video-games/call-of-duty-black-ops-cold-war/call-of-duty-black-ops-cold-war-ps5/p/191951'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'sony',
|
||||||
|
model: 'ps5 console',
|
||||||
|
series: 'sonyps5c',
|
||||||
|
url:
|
||||||
|
'https://www.smythstoys.com/uk/en-gb/video-games-and-tablets/playstation-5/playstation-5-consoles/playstation-5-console/p/191259'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'sony',
|
||||||
|
model: 'ps5 digital',
|
||||||
|
series: 'sonyps5de',
|
||||||
|
url:
|
||||||
|
'https://www.smythstoys.com/uk/en-gb/video-games-and-tablets/playstation-5/playstation-5-consoles/playstation-5-digital-edition-console/p/191430'
|
||||||
|
}
|
||||||
|
],
|
||||||
|
name: 'smythstoys'
|
||||||
|
};
|
||||||
Reference in New Issue
Block a user