Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: update selector for newegg product price #3221

Merged
merged 1 commit into from
Feb 17, 2025
Merged

fix: update selector for newegg product price #3221

merged 1 commit into from
Feb 17, 2025

Conversation

mven
Copy link
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
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
3 checks passed
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