From a270aa3c520dbf85fa4cd0e6907bdc0266393e78 Mon Sep 17 00:00:00 2001 From: Techmaster13 <81822275+Mr-Tech-13@users.noreply.github.com> Date: Sun, 22 Dec 2024 11:56:35 -0500 Subject: [PATCH 1/2] Update bestbuy.ts --- src/store/model/bestbuy.ts | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/store/model/bestbuy.ts b/src/store/model/bestbuy.ts index 4fcba1edc1..6c50479b5d 100644 --- a/src/store/model/bestbuy.ts +++ b/src/store/model/bestbuy.ts @@ -4,12 +4,16 @@ export const BestBuy: Store = { currency: '$', labels: { inStock: { - container: '[data-sticky-media-gallery] .fulfillment-add-to-cart-button', + container: '.fulfillment-add-to-cart-button', text: ['add to cart'], }, + outOfStock: { + container: 'button.c-button.c-button-disabled[data-sku-id="54959778"][data-button-state="SOLD_OUT"]', + text: ['Unavailable Nearby'], + }, maxPrice: { container: - '[data-sticky-media-gallery] .priceView-price .priceView-hero-price span', + '.pricing-price', }, }, links: [ From 2c9a5761fa886198998933a672c4ebe80da0bf91 Mon Sep 17 00:00:00 2001 From: Jef LeCompte Date: Fri, 10 Jan 2025 10:37:07 -0800 Subject: [PATCH 2/2] style: fix linting --- src/store/model/bestbuy.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/store/model/bestbuy.ts b/src/store/model/bestbuy.ts index 6c50479b5d..ebe30a93e2 100644 --- a/src/store/model/bestbuy.ts +++ b/src/store/model/bestbuy.ts @@ -8,12 +8,12 @@ export const BestBuy: Store = { text: ['add to cart'], }, outOfStock: { - container: 'button.c-button.c-button-disabled[data-sku-id="54959778"][data-button-state="SOLD_OUT"]', + container: + 'button.c-button.c-button-disabled[data-sku-id="54959778"][data-button-state="SOLD_OUT"]', text: ['Unavailable Nearby'], - }, + }, maxPrice: { - container: - '.pricing-price', + container: '.pricing-price', }, }, links: [