From 628cab1b605e4363c8dd5ad43476292ecb12db74 Mon Sep 17 00:00:00 2001 From: Josh Eckerman Date: Sat, 3 Oct 2020 11:26:59 -0500 Subject: [PATCH] fix(store): update `inStock` and `maxPrice` for newegg, newegg-ca (#433) Fixes #400 Co-authored-by: Josh Eckerman --- src/store/model/newegg-ca.ts | 4 ++-- src/store/model/newegg.ts | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/store/model/newegg-ca.ts b/src/store/model/newegg-ca.ts index 62f6996d71..872c062540 100644 --- a/src/store/model/newegg-ca.ts +++ b/src/store/model/newegg-ca.ts @@ -7,11 +7,11 @@ export const NeweggCa: Store = { text: ['are you a human?'] }, inStock: { - container: '#landingpage-cart .btn-primary span', + container: 'div#ProductBuy .btn-primary', text: ['add to cart'] }, maxPrice: { - container: '#landingpage-price > div > div > ul > li.price-current > strong', + container: 'div#app div.product-price > ul > li.price-current > strong', euroFormat: false } }, diff --git a/src/store/model/newegg.ts b/src/store/model/newegg.ts index b49f591c18..241303278a 100644 --- a/src/store/model/newegg.ts +++ b/src/store/model/newegg.ts @@ -7,11 +7,11 @@ export const Newegg: Store = { text: ['are you a human?'] }, inStock: { - container: '#landingpage-cart .btn-primary span', + container: 'div#ProductBuy .btn-primary', text: ['add to cart'] }, maxPrice: { - container: '#landingpage-price > div > div > ul > li.price-current > strong', + container: 'div#app div.product-price > ul > li.price-current > strong', euroFormat: false } },