Skip to content

Commit

Permalink
feat(store): add amd-nl store (#2072)
Browse files Browse the repository at this point in the history
  • Loading branch information
TheCodeAssassin authored Apr 14, 2021
1 parent bc59da1 commit 49c9e8c
Show file tree
Hide file tree
Showing 2 changed files with 86 additions and 0 deletions.
84 changes: 84 additions & 0 deletions src/store/model/amd-nl.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,84 @@
import {Store} from './store';

export const AmdNl: Store = {
currency: '€',
labels: {
inStock: {
container: '.btn-shopping-cart',
text: ['add to cart'],
},
maxPrice: {
container: '.product-page-description h4',
euroFormat: true,
},
outOfStock: {
container: '.btn-radeon',
text: ['out of stock'],
},
},
links: [
{
brand: 'test:brand',
model: 'test:model',
series: 'test:series',
url: 'https://www.amd.com/en/direct-buy/5450881400/nl',
},
{
brand: 'amd',
cartUrl:
'https://www.amd.com/en/direct-buy/5450881400/nl?add-to-cart=true',
model: '5950x',
series: 'ryzen5950',
url: 'https://www.amd.com/en/direct-buy/5450881400/nl',
},
{
brand: 'amd',
cartUrl:
'https://www.amd.com/en/direct-buy/5450881500/nl?add-to-cart=true',
model: '5900x',
series: 'ryzen5900',
url: 'https://www.amd.com/en/direct-buy/5450881500/nl',
},
{
brand: 'amd',
cartUrl:
'https://www.amd.com/en/direct-buy/5450881600/nl?add-to-cart=true',
model: '5800x',
series: 'ryzen5800',
url: 'https://www.amd.com/en/direct-buy/5450881600/nl',
},
{
brand: 'amd',
cartUrl:
'https://www.amd.com/en/direct-buy/5450881700/nl?add-to-cart=true',
model: '5600x',
series: 'ryzen5600',
url: 'https://www.amd.com/en/direct-buy/5450881700/nl',
},
{
brand: 'amd',
cartUrl:
'https://www.amd.com/en/direct-buy/5458374000/nl?add-to-cart=true',
model: 'amd reference',
series: 'rx6800',
url: 'https://www.amd.com/en/direct-buy/5458374000/nl',
},
{
brand: 'amd',
cartUrl:
'https://www.amd.com/en/direct-buy/5458374100/nl?add-to-cart=true',
model: 'amd reference',
series: 'rx6800xt',
url: 'https://www.amd.com/en/direct-buy/5458374100/nl',
},
{
brand: 'amd',
cartUrl:
'https://www.amd.com/en/direct-buy/5458374200/nl?add-to-cart=true',
model: 'amd reference',
series: 'rx6900xt',
url: 'https://www.amd.com/en/direct-buy/5458374200/nl',
},
],
name: 'amd-nl',
};
2 changes: 2 additions & 0 deletions src/store/model/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ import {AmazonUk} from './amazon-uk';
import {Amd} from './amd';
import {AmdCa} from './amd-ca';
import {AmdDe} from './amd-de';
import {AmdNl} from './amd-nl';
import {AmdIt} from './amd-it';
import {AmdUk} from './amd-uk';
import {AntOnline} from './antonline';
Expand Down Expand Up @@ -173,6 +174,7 @@ export const storeList = new Map([
[Amd.name, Amd],
[AmdCa.name, AmdCa],
[AmdDe.name, AmdDe],
[AmdNl.name, AmdNl],
[AmdIt.name, AmdIt],
[AmdUk.name, AmdUk],
[AntOnline.name, AntOnline],
Expand Down

0 comments on commit 49c9e8c

Please sign in to comment.