Skip to content

fix: update selector for newegg product price#3221

Merged
jef merged 1 commit intojef:mainfrom
mven:neweggfix
Feb 17, 2025
Merged

fix: update selector for newegg product price#3221
jef merged 1 commit intojef:mainfrom
mven:neweggfix

Conversation

@mven
Copy link
Copy Markdown
Contributor

@mven mven commented Feb 16, 2025

Description

Currently, the MAX_PRICE_* feature doesn't work with Newegg, because it's using the wrong selector. This change updates the selector so that the product price is correctly selected. I've also changed the outOfStock selector to .product-buy because .product-inventory does not exist on the product page.

Testing

  • I tested the Out of Stock functionality and works as it should.
  • To test the max price feature, I manually changed a product link in the Newegg store that was in stock and set a MAX_PRICE. I've verified the notification is ignored if the product is over the max set.

New dependencies

Using this updated selector fixes the MAX_PRICE_* feature in Newegg
@mven mven requested a review from jef as a code owner February 16, 2025 22:18
@jef
Copy link
Copy Markdown
Owner

jef commented Feb 17, 2025

Very good! Thank for fixing

@jef jef enabled auto-merge (squash) February 17, 2025 20:44
@jef jef merged commit 72e26b4 into jef:main Feb 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants