mirror of
https://github.com/opelly27/streetmerchant.git
synced 2026-05-20 05:17:35 +00:00
feat(store): add Walmart (CA) (#1253)
This commit is contained in:
@@ -107,6 +107,7 @@ Used with the `STORES` variable.
|
||||
| Unieuro (IT) | `unieuro`|
|
||||
| Very (UK) | `very`|
|
||||
| Walmart | `walmart`|
|
||||
| Walmart (CA) | `walmart-ca` |
|
||||
| Wipoid | `wipoid`|
|
||||
| Zotac | `zotac`|
|
||||
| TopAchat | `topachat`|
|
||||
|
||||
@@ -81,6 +81,7 @@ import {Unieuro} from './unieuro';
|
||||
import {Very} from './very';
|
||||
import {VsGamers} from './vsgamers';
|
||||
import {Walmart} from './walmart';
|
||||
import {WalmartCa} from './walmart-ca';
|
||||
import {Wipoid} from './wipoid';
|
||||
import {Xbox} from './xbox';
|
||||
import {Zotac} from './zotac';
|
||||
@@ -168,6 +169,7 @@ export const storeList = new Map([
|
||||
[Very.name, Very],
|
||||
[VsGamers.name, VsGamers],
|
||||
[Walmart.name, Walmart],
|
||||
[WalmartCa.name, WalmartCa],
|
||||
[Wipoid.name, Wipoid],
|
||||
[Xbox.name, Xbox],
|
||||
[Zotac.name, Zotac]
|
||||
|
||||
@@ -0,0 +1,56 @@
|
||||
import {Store} from './store';
|
||||
|
||||
export const WalmartCa: Store = {
|
||||
labels: {
|
||||
inStock: {
|
||||
container: '[data-automation="cta-button"]',
|
||||
text: ['add to cart']
|
||||
},
|
||||
maxPrice: {
|
||||
container: '[data-automation="buybox-price"]'
|
||||
}
|
||||
},
|
||||
links: [
|
||||
{
|
||||
brand: 'test:brand',
|
||||
model: 'test:model',
|
||||
series: 'test:series',
|
||||
url:
|
||||
'https://www.walmart.ca/en/ip/sandisk-64g-ultra-sdxc-uhs-1-memory-card-80mbs-c10-u1-full-hd-sd-card-sdsdunc-064g-cw6in/6000200452075'
|
||||
},
|
||||
{
|
||||
brand: 'sony',
|
||||
model: 'ps5 console',
|
||||
series: 'sonyps5c',
|
||||
url:
|
||||
'https://www.walmart.ca/en/ip/playstation5-console/6000202198562'
|
||||
},
|
||||
{
|
||||
brand: 'sony',
|
||||
model: 'ps5 digital',
|
||||
series: 'sonyps5de',
|
||||
url:
|
||||
'https://www.walmart.ca/en/ip/playstation5-digital-edition/6000202198823'
|
||||
},
|
||||
{
|
||||
brand: 'microsoft',
|
||||
model: 'xbox series x',
|
||||
series: 'xboxsx',
|
||||
url: 'https://www.walmart.ca/en/ip/xbox-series-x/6000201786332'
|
||||
},
|
||||
{
|
||||
brand: 'microsoft',
|
||||
model: 'xbox series s',
|
||||
series: 'xboxss',
|
||||
url: 'https://www.walmart.ca/en/ip/xbox-series-s/6000201790919'
|
||||
},
|
||||
{
|
||||
brand: 'corsair',
|
||||
model: '600 platinum',
|
||||
series: 'sf',
|
||||
url:
|
||||
'https://www.walmart.ca/en/ip/Corsair-SF-Series-SF600-600-Watt-80-PLUS-Gold-Certified-High-Performance-SFX-PSU/PRD6VH8WNKHD36Q'
|
||||
}
|
||||
],
|
||||
name: 'walmart-ca'
|
||||
};
|
||||
Reference in New Issue
Block a user