Skip to content

Commit

Permalink
chore: update bestbuy selectors (#3186)
Browse files Browse the repository at this point in the history
From
https://discord.com/channels/773913070665859073/776482351102427196/1319130563176566837


PR to update the selectors

---------

Co-authored-by: Jef LeCompte <jeffreylec@gmail.com>
  • Loading branch information
Mr-Tech-13 and jef authored Jan 10, 2025
1 parent 25d556c commit 810cefc
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions src/store/model/bestbuy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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'],
},
maxPrice: {
outOfStock: {
container:
'[data-sticky-media-gallery] .priceView-price .priceView-hero-price span',
'button.c-button.c-button-disabled[data-sku-id="54959778"][data-button-state="SOLD_OUT"]',
text: ['Unavailable Nearby'],
},
maxPrice: {
container: '.pricing-price',
},
},
links: [
Expand Down

0 comments on commit 810cefc

Please sign in to comment.