chore(store): add amd (ca) (#1006)

This commit is contained in:
Yuheng Ouyang
2020-11-28 18:55:25 -08:00
committed by GitHub
parent 0b4966e452
commit a79ce6f406
3 changed files with 42 additions and 0 deletions
+39
View File
@@ -0,0 +1,39 @@
import {Store} from './store';
export const AmdCa: Store = {
labels: {
inStock: {
container: '.btn-shopping-cart',
text: ['add to cart']
},
maxPrice: {
container: '.product-page-description h4',
euroFormat: false
}
},
links: [
{
brand: 'test:brand',
model: 'test:model',
series: 'test:series',
url: 'https://www.amd.com/en/direct-buy/5458373400/ca'
},
{
brand: 'amd',
cartUrl:
'https://www.amd.com/en/direct-buy/5458373400/ca?add-to-cart=true',
model: 'amd reference',
series: 'rx6800',
url: 'https://www.amd.com/en/direct-buy/5458373400/ca'
},
{
brand: 'amd',
cartUrl:
'https://www.amd.com/en/direct-buy/5458372800/ca?add-to-cart=true',
model: 'amd reference',
series: 'rx6800xt',
url: 'https://www.amd.com/en/direct-buy/5458372800/ca'
}
],
name: 'amd-ca'
};
+2
View File
@@ -11,6 +11,7 @@ import {AmazonIt} from './amazon-it';
import {AmazonNl} from './amazon-nl';
import {AmazonUk} from './amazon-uk';
import {Amd} from './amd';
import {AmdCa} from './amd-ca';
import {AmdDe} from './amd-de';
import {AmdIt} from './amd-it';
import {Aria} from './aria';
@@ -83,6 +84,7 @@ export const storeList = new Map([
[AmazonUk.name, AmazonUk],
[AmazonIt.name, AmazonIt],
[Amd.name, Amd],
[AmdCa.name, AmdCa],
[AmdDe.name, AmdDe],
[AmdIt.name, AmdIt],
[Aria.name, Aria],