From c5ff129a1527b2a2611e0a2ce9e298fff6d4d53a Mon Sep 17 00:00:00 2001 From: David Olsson Date: Wed, 17 Feb 2021 20:08:31 +0100 Subject: [PATCH 1/2] Add Norwegian stores elkjop, komplett, dustin, power and proshop From 2668b60536119e69a94d2a1dd66322515d8fa9d6 Mon Sep 17 00:00:00 2001 From: David Olsson Date: Thu, 18 Feb 2021 20:50:23 +0100 Subject: [PATCH 2/2] Add netonnet.no Add docs for netonnet-no --- docs/reference/filter.md | 1 + src/store/model/index.ts | 2 + src/store/model/netonnet-no.ts | 158 +++++++++++++++++++++++++++++++++ 3 files changed, 161 insertions(+) create mode 100644 src/store/model/netonnet-no.ts diff --git a/docs/reference/filter.md b/docs/reference/filter.md index c7c54d7565..368fd69833 100644 --- a/docs/reference/filter.md +++ b/docs/reference/filter.md @@ -123,6 +123,7 @@ Used with the `STORES` variable. | Mindfactory | DE | `mindfactory` | | MSY | AU | `msy`| | Mwave | AU | `mwave`| +| Netonnet | NO | `netonnet-no`| | Newegg | US | `newegg`| | Newegg | CA | `newegg-ca`| | Newegg | SG | `newegg-sg`| diff --git a/src/store/model/index.ts b/src/store/model/index.ts index 688a448efd..4e65a85214 100644 --- a/src/store/model/index.ts +++ b/src/store/model/index.ts @@ -87,6 +87,7 @@ import {MicroCenter} from './microcenter'; import {Mindfactory} from './mindfactory'; import {Msy} from './msy'; import {Mwave} from './mwave'; +import {NetonnetNO} from './netonnet-no'; import {Newegg} from './newegg'; import {NeweggCa} from './newegg-ca'; import {NeweggSg} from './newegg-sg'; @@ -229,6 +230,7 @@ export const storeList = new Map([ [Mindfactory.name, Mindfactory], [Msy.name, Msy], [Mwave.name, Mwave], + [NetonnetNO.name, NetonnetNO], [Newegg.name, Newegg], [NeweggCa.name, NeweggCa], [NeweggSg.name, NeweggSg], diff --git a/src/store/model/netonnet-no.ts b/src/store/model/netonnet-no.ts new file mode 100644 index 0000000000..728223b872 --- /dev/null +++ b/src/store/model/netonnet-no.ts @@ -0,0 +1,158 @@ +import {Store} from './store'; + +export const NetonnetNO: Store = { + currency: 'kr.', + labels: { + inStock: { + container: '#productPurchaseBoxContainer > div > button', + text: ['Legg i handlevogn'], + }, + outOfStock: { + container: '#productPurchaseBoxContainer > div > button', + text: ['OvervÄk produktet'], + }, + }, + links: [ + { + brand: 'test:brand', + model: 'test:model', + series: 'test:series', + url: + 'https://www.netonnet.no/art/datakomponenter/skjermkort/nvidia/kfa2-geforce-rtx-3090-hall-of-fame/1016867.11111/', + }, + { + brand: 'asus', + model: 'tuf', + series: '3060ti', + url: + 'https://www.netonnet.no/art/datakomponenter/skjermkort/nvidia/asus-geforce-rtx-3060ti-tuf-gaming-8gb/1015570.11111/', + }, + { + brand: 'asus', + model: 'tuf oc', + series: '3060ti', + url: + 'https://www.netonnet.no/art/datakomponenter/skjermkort/nvidia/asus-geforce-rtx-3060ti-tuf-gaming-oc-8gb/1015565.11111/', + }, + { + brand: 'asus', + model: 'strix oc', + series: '3060ti', + url: + 'https://www.netonnet.no/art/datakomponenter/skjermkort/nvidia/asus-geforce-rtx-3060-ti-rog-strix-gaming-oc-8gb/1016449.11111/', + }, + { + brand: 'asus', + model: 'dual', + series: '3060ti', + url: + 'https://www.netonnet.no/art/datakomponenter/skjermkort/nvidia/asus-geforce-rtx-3060ti-dual-oc-8gb/1015673.11111/', + }, + { + brand: 'msi', + model: 'gaming x trio', + series: '3060ti', + url: + 'https://www.netonnet.no/art/datakomponenter/skjermkort/nvidia/msi-geforce-rtx-3060-ti-gaming-x-trio/1015906.11111/', + }, + { + brand: 'gigabyte', + model: 'eagle', + series: '3060ti', + url: + 'https://www.netonnet.no/art/datakomponenter/skjermkort/nvidia/gigabyte-geforce-rtx-3060-ti-eagle-8g/1015575.11111/', + }, + { + brand: 'gigabyte', + model: 'eagle oc', + series: '3060ti', + url: + 'https://www.netonnet.no/art/datakomponenter/skjermkort/nvidia/gigabyte-geforce-rtx-3060-ti-eagle-oc-8g/1015576.11111/', + }, + { + brand: 'gigabyte', + model: 'aorus master', + series: '3060ti', + url: + 'https://www.netonnet.no/art/datakomponenter/skjermkort/nvidia/gigabyte-geforce-rtx-3060-ti-aorus-master/1015582.11111/', + }, + { + brand: 'gigabyte', + model: 'gaming oc', + series: '3060ti', + url: + 'https://www.netonnet.no/art/datakomponenter/skjermkort/nvidia/gigabyte-geforce-rtx-3060-ti-gaming-oc-8gb/1015578.11111/', + }, + { + brand: 'gigabyte', + model: 'gaming pro oc', + series: '3060ti', + url: + 'https://www.netonnet.no/art/datakomponenter/skjermkort/nvidia/gigabyte-geforce-rtx-3060ti-gaming-pro-oc/1016888.11111/', + }, + { + brand: 'kfa2', + model: 'sg', + series: '3060ti', + url: + 'https://www.netonnet.no/art/datakomponenter/skjermkort/nvidia/gigabyte-geforce-rtx-3060ti-gaming-pro-oc/1016888.11111/', + }, + { + brand: 'asus', + model: 'strix oc', + series: '3080', + url: + 'https://www.netonnet.no/art/datakomponenter/skjermkort/nvidia/asus-geforce-rtx-3080-rog-strix-gaming-oc-white-10gb/1015992.11111/', + }, + { + brand: 'asus', + model: 'strix white', + series: '3080', + url: + 'https://www.netonnet.no/art/datakomponenter/skjermkort/nvidia/asus-geforce-rtx-3080-rog-strix-gaming-oc-10gb/1016281.11111/', + }, + { + brand: 'asus', + model: 'tuf', + series: '3080', + url: + 'https://www.netonnet.no/art/datakomponenter/skjermkort/nvidia/asus-geforce-rtx-3080-tuf-gaming-10g/1014354.11111/', + }, + { + brand: 'asus', + model: 'tuf oc', + series: '3080', + url: + 'https://www.netonnet.no/art/datakomponenter/skjermkort/nvidia/asus-geforce-rtx-3080-tuf-gaming-oc-10gb/1015670.11111/', + }, + { + brand: 'asus', + model: 'strix', + series: '3080', + url: + 'https://www.netonnet.no/art/datakomponenter/skjermkort/nvidia/asus-geforce-rtx-3080-rog-strix-gaming-10g/1014394.11111/', + }, + { + brand: 'gigabyte', + model: 'gaming', + series: '3080', + url: + 'https://www.netonnet.no/art/datakomponenter/skjermkort/nvidia/gigabyte-geforce-rtx-3080-gaming-oc-10g/1014380.11111/', + }, + { + brand: 'gigabyte', + model: 'eagle oc', + series: '3080', + url: + 'https://www.netonnet.no/art/datakomponenter/skjermkort/nvidia/gigabyte-geforce-rtx-3080-eagle-oc-10g/1014382.11111/', + }, + { + brand: 'gigabyte', + model: 'aorus xtreme', + series: '3080', + url: + 'https://www.netonnet.no/art/datakomponenter/skjermkort/nvidia/gigabyte-geforce-rtx-3080-aorus-xtream-10gb/1015517.11111/', + }, + ], + name: 'netonnet-no', +};