From e55ecdbeb8cecf5eb15633a4305f631a12971683 Mon Sep 17 00:00:00 2001 From: Benedikt Gilbert <56096576+BndktCG@users.noreply.github.com> Date: Wed, 22 Jan 2025 13:49:13 +0100 Subject: [PATCH] Added 50 Series items from nvidia.de --- src/store/model/nvidia-de.ts | 41 +++++++++--------------- src/store/model/nvidia-marketplace-de.ts | 1 + 2 files changed, 17 insertions(+), 25 deletions(-) diff --git a/src/store/model/nvidia-de.ts b/src/store/model/nvidia-de.ts index d2d80e8642..41fed17b3b 100644 --- a/src/store/model/nvidia-de.ts +++ b/src/store/model/nvidia-de.ts @@ -4,57 +4,48 @@ export const NvidiaDE: Store = { currency: '€', labels: { inStock: { - container: '.buy', - text: ['In den Einkaufswagen', 'JETZT KAUFEN'], + container: '#nv-button-f3d1a1873f > span', + text: ['In den Einkaufswagen', 'JETZT KAUFEN', 'Kaufen'], }, outOfStock: { - container: '.buy', - text: ['DERZEIT NICHT VERFÜGBAR'], + container: '#nv-button-0a98a3e249 > span', + text: ['DERZEIT NICHT VERFÜGBAR','Benachrichtigungen erhalten'], }, }, links: [ + // test item { brand: 'test:brand', model: 'test:model', series: 'test:series', - url: 'https://www.nvidia.com/de-de/geforce/graphics-cards/rtx-2060-super/', + url: 'https://www.nvidia.com/de-de/geforce/graphics-cards/40-series/rtx-4090/', }, + // real items { brand: 'nvidia', model: 'founders edition', - series: '3060ti', - url: 'https://shop.nvidia.com/de-de/geforce/store/gpu/?page=1&limit=9&locale=de-de&category=GPU&gpu=RTX%203060%20Ti&manufacturer=NVIDIA', + series: '5090', + url: 'https://www.nvidia.com/de-de/geforce/graphics-cards/50-series/rtx-5090/', }, { brand: 'nvidia', model: 'founders edition', - series: '3070', - url: 'https://shop.nvidia.com/de-de/geforce/store/gpu/?page=1&limit=9&locale=de-de&category=GPU&gpu=RTX%203070&manufacturer=NVIDIA', + series: '5080', + url: 'https://www.nvidia.com/de-de/geforce/graphics-cards/50-series/rtx-5080/', }, { brand: 'nvidia', model: 'founders edition', - series: '3070ti', - url: 'https://shop.nvidia.com/de-de/geforce/store/gpu/?page=1&limit=9&locale=de-de&category=GPU&gpu=RTX%203070%20Ti&manufacturer=NVIDIA', + series: '5070', + url: 'https://www.nvidia.com/de-de/geforce/graphics-cards/50-series/rtx-5070-family/', }, { brand: 'nvidia', model: 'founders edition', - series: '3080', - url: 'https://shop.nvidia.com/de-de/geforce/store/gpu/?page=1&limit=9&locale=de-de&category=GPU&gpu=RTX%203080&manufacturer=NVIDIA', - }, - { - brand: 'nvidia', - model: 'founders edition', - series: '3080ti', - url: 'https://shop.nvidia.com/de-de/geforce/store/gpu/?page=1&limit=9&locale=de-de&category=GPU&gpu=RTX%203080%20Ti&manufacturer=NVIDIA', - }, - { - brand: 'nvidia', - model: 'founders edition', - series: '3090', - url: 'https://shop.nvidia.com/de-de/geforce/store/gpu/?page=1&limit=9&locale=de-de&category=GPU&gpu=RTX%203090&manufacturer=NVIDIA', + series: '5070ti', + url: 'https://www.nvidia.com/de-de/geforce/graphics-cards/50-series/rtx-5070-family/', }, + ], name: 'nvidia-de', }; diff --git a/src/store/model/nvidia-marketplace-de.ts b/src/store/model/nvidia-marketplace-de.ts index ab0f3f3029..62ac6876a0 100644 --- a/src/store/model/nvidia-marketplace-de.ts +++ b/src/store/model/nvidia-marketplace-de.ts @@ -1,5 +1,6 @@ import {Store} from './store'; +// note that nvidia marketplace does not have seperate product pages for each item. thats why products are referenced by filters. might be unstabe export const NvidiaMarketplaceDE: Store = { currency: '€', labels: {