forked from jef/streetmerchant
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(store): add Norwegian stores (jef#1985)
Adds elkjop.no, komplett.no, dustinhome.no, power.no and proshop.no
- Loading branch information
Showing
7 changed files
with
1,144 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,76 @@ | ||
import {Store} from './store'; | ||
|
||
export const DustinHomeNO: Store = { | ||
currency: 'kr.', | ||
labels: { | ||
inStock: { | ||
container: | ||
'div.c-product-main-info > div.c-product-buy-wrapper > div.u-pt-16.u-relative.d-flex > div > span', | ||
text: ['Kan sendes omgående'], | ||
}, | ||
outOfStock: { | ||
container: | ||
'div.c-product-main-info > div.c-product-buy-wrapper > div.u-pt-16.u-relative.d-flex > div > span', | ||
text: [ | ||
'Vi venter produktet til lager, men har foreløpig ingen bekreftet leveringsdato. Vi sender produktet så snart det er på lager.', | ||
], | ||
}, | ||
}, | ||
links: [ | ||
{ | ||
brand: 'test:brand', | ||
model: 'test:model', | ||
series: 'test:series', | ||
url: 'https://www.dustinhome.no/product/5011216501/', | ||
}, | ||
{ | ||
brand: 'msi', | ||
model: 'suprim x', | ||
series: '3080', | ||
url: 'https://www.dustinhome.no/product/5011216707/', | ||
}, | ||
{ | ||
brand: 'evga', | ||
model: 'ftw3 ultra', | ||
series: '3080', | ||
url: 'https://www.dustinhome.no/product/5011197759/', | ||
}, | ||
{ | ||
brand: 'evga', | ||
model: 'ftw3', | ||
series: '3080', | ||
url: 'https://www.dustinhome.no/product/5011197760/', | ||
}, | ||
{ | ||
brand: 'evga', | ||
model: 'xc3 ultra', | ||
series: '3080', | ||
url: 'https://www.dustinhome.no/product/5011197756/', | ||
}, | ||
{ | ||
brand: 'pny', | ||
model: 'xlr8 epic x', | ||
series: '3080', | ||
url: 'https://www.dustinhome.no/product/5011196134/', | ||
}, | ||
{ | ||
brand: 'pny', | ||
model: 'xlr8 epic x', | ||
series: '3080', | ||
url: 'https://www.dustinhome.no/product/5011196133/', | ||
}, | ||
{ | ||
brand: 'gigabyte', | ||
model: 'aorus xtreme waterforce wb', | ||
series: '3080', | ||
url: 'https://www.dustinhome.no/product/5011212484/', | ||
}, | ||
{ | ||
brand: 'gigabyte', | ||
model: 'aorus master', | ||
series: '3080', | ||
url: 'https://www.dustinhome.no/product/5011199977/', | ||
}, | ||
], | ||
name: 'dustinhome-no', | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,82 @@ | ||
import {Store} from './store'; | ||
|
||
export const Elkjop: Store = { | ||
currency: 'kr.', | ||
labels: { | ||
inStock: { | ||
container: | ||
'#product-detail-wrapper > div.col.any-5-12.M-2-5.information > div.buy-button-container.align-left.any-1-1.table-btn > div > div > div.product-price-button-wrap > div > div > span > span', | ||
text: ['Legg i handlevogn'], | ||
}, | ||
outOfStock: { | ||
container: | ||
'#product-detail-wrapper > div.col.any-5-12.M-2-5.information > div.buy-button-container.align-left.any-1-1.table-btn > div > div > div.product-price-button-wrap > div > div > span > span', | ||
text: ['Ikke tilgjengelig'], | ||
}, | ||
}, | ||
links: [ | ||
{ | ||
brand: 'test:brand', | ||
model: 'test:model', | ||
series: 'test:series', | ||
url: | ||
'https://www.elkjop.no/product/data/pc-komponenter/grafikkort/218425/evga-geforce-rtx-3080-xc3-black', | ||
}, | ||
{ | ||
brand: 'pny', | ||
model: 'xlr8 epic x', | ||
series: '3090', | ||
url: | ||
'https://www.elkjop.no/product/data/pc-komponenter/grafikkort/215370/pny-rtx-3090-24gb-xlr8-gaming-epic-x-rgb-3-fan-2-7slot', | ||
}, | ||
{ | ||
brand: 'evga', | ||
model: 'ftw3 ultra', | ||
series: '3080', | ||
url: 'https://www.dustinhome.no/product/5011197759/', | ||
}, | ||
{ | ||
brand: 'evga', | ||
model: 'xc3', | ||
series: '3080', | ||
url: | ||
'https://www.elkjop.no/product/data/pc-komponenter/grafikkort/218419/evga-geforce-rtx-3080-xc3', | ||
}, | ||
{ | ||
brand: 'evga', | ||
model: 'xc3 black', | ||
series: '3080', | ||
url: | ||
'https://www.elkjop.no/product/data/pc-komponenter/grafikkort/218425/evga-geforce-rtx-3080-xc3-black', | ||
}, | ||
{ | ||
brand: 'evga', | ||
model: 'ftw3', | ||
series: '3080', | ||
url: | ||
'https://www.elkjop.no/product/data/pc-komponenter/grafikkort/220655/evga-geforce-rtx-3080-ftw3', | ||
}, | ||
{ | ||
brand: 'palit', | ||
model: 'gaming pro oc', | ||
series: '3080', | ||
url: | ||
'https://www.elkjop.no/product/data/pc-komponenter/grafikkort/222470/geforce-rtx-3080-gamingpro-oc', | ||
}, | ||
{ | ||
brand: 'gainward', | ||
model: 'phoenix gs', | ||
series: '3080', | ||
url: | ||
'https://www.elkjop.no/product/data/pc-komponenter/grafikkort/222467/geforce-rtx-3080-phoenix-gs', | ||
}, | ||
{ | ||
brand: 'evga', | ||
model: 'xc3 ultra', | ||
series: '3090', | ||
url: | ||
'https://www.elkjop.no/product/data/pc-komponenter/grafikkort/224771/evga-geforce-rtx-3090-xc3-ultra-24gb', | ||
}, | ||
], | ||
name: 'elkjop', | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.