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(vuugo): add out of stock check #1731

Merged
merged 3 commits into from Jan 18, 2021
Merged

fix(vuugo): add out of stock check #1731

merged 3 commits into from Jan 18, 2021

Conversation

wofnull
Copy link
Contributor

@wofnull wofnull commented Jan 18, 2021

Description

Fixes #1716

Checked against the problem case and added the Out of Stock check

Testing

Before:
image

After:
image

Works as expected

@wofnull wofnull requested a review from jef as a code owner January 18, 2021 17:05
Copy link
Owner

@jef jef left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great! Thank you!

@jef jef merged commit 9695e29 into jef:main Jan 18, 2021
@anthonytam
Copy link
Contributor

@jef Looking into this more, in lookup.ts, the order is currently: Check out of stock labels, check max price labels, check in stock labels. This means any store which uses the "instock" label will always show the max price output instead of an out of stock output (In the case of a max price being defined)

Perhaps, the ordering should be changed to clarify that the item is infact out of stock prior to the max price message

@wofnull wofnull deleted the vuugo_outofstock branch January 19, 2021 06:57
patlux pushed a commit to patlux/streetmerchant that referenced this pull request Jan 19, 2021
erwinc1 pushed a commit to erwinc1/streetmerchant that referenced this pull request Mar 31, 2021
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.

Vuugo false positive
3 participants