-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Hide Master Price input when there's no default price #3155
Hide Master Price input when there's no default price #3155
Conversation
ad53078
to
94bbe62
Compare
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.
I am okay with this! Thanks @kennyadsl
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.
Thanks. Just a small nit about wrong indentation
7425b6c
to
6c8c4b1
Compare
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.
Aside from one, non-blocking comment, this is fantastic! Great work @kennyadsl 💪
Right now this method (still not used in the whole codebase) is returning true, even when there is only a default price which has been discarded.
while editing product in admin. This should clarify that there's no current price available for the product using the default pricing configuration.
6c8c4b1
to
51ce29b
Compare
Description
This PR hides the Master Price input in the Amin Product Edit page when there's no available (not deleted) price for that product's master variant.
closes #1861
closes #1989
Before
👆 Please note that all prices on this product have been deleted,
$999
comes from a deleted (discarded) price.After
Checklist: