From 0525119b9bae47425a6c01720d6a1ea6ab8e6a02 Mon Sep 17 00:00:00 2001 From: Dylan Fontaine <10430358+dylanfontaine@users.noreply.github.com> Date: Sat, 12 Dec 2020 06:23:19 -0800 Subject: [PATCH] fix(bestbuy-ca): update selectors to help false positives (#1278) Resolves #895 --- src/store/model/bestbuy-ca.ts | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/src/store/model/bestbuy-ca.ts b/src/store/model/bestbuy-ca.ts index dc34882c0b..10bec41427 100644 --- a/src/store/model/bestbuy-ca.ts +++ b/src/store/model/bestbuy-ca.ts @@ -3,17 +3,13 @@ import {Store} from './store'; export const BestBuyCa: Store = { currency: '$', labels: { - inStock: { - container: '.addToCartContainer_2uzan', - text: ['add to cart'] - }, maxPrice: { - container: '.pricingContainer_25k3c', + container: 'div[class*="pricingContainer"]', euroFormat: false }, outOfStock: { - container: '.shippingAvailability_2RMa1', - text: ['coming soon', 'sold out'] + container: '.addToCartButton:disabled', + text: ['add to cart'] } }, links: [