This repository was archived by the owner on Feb 23, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 215
Respect low stock visibility setting #6444
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Contributor
Script Dependencies ReportThe
This comment was automatically generated by the |
Contributor
|
Size Change: 0 B Total Size: 862 kB ℹ️ View Unchanged
|
alexflorisca
approved these changes
May 25, 2022
Contributor
alexflorisca
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, thanks Nadir 👍
8 tasks
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
block: cart
Issues related to the cart block.
block: checkout
Issues related to the checkout block.
focus: rest api
Work impacting REST api routes.
type: bug
The issue/PR concerns a confirmed bug.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR fixes an issue with low stock visibility. WooCommerce has the option to set a store threshold, in which you will be notified if it crosses. You also have the option to make that value visible to customers, or hide it if you wish.
To not display that, you set the value of Display format to Never in WooCommerce -> Settings -> Products -> Inventory

We previously didn't respect that, we now do.
That option has 3 values:
Fixes #6428
User Facing Testing
WooCommerce Visibility
Changelog