-
Notifications
You must be signed in to change notification settings - Fork 10.7k
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
Improve the validation process when changing the product type #43564
Conversation
Hi @octaedro, Apart from reviewing the code changes, please make sure to review the testing instructions as well. You can follow this guide to find out what good testing instructions should look like: |
Test Results SummaryCommit SHA: 9d41ffc
To view the full API test report, click here. To view the full E2E test report, click here. To view all test reports, visit the WooCommerce Test Reports Dashboard. |
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.
The validation for the external product link is not there anymore (mimicking the legacy experience).
This PR LGTM 🚀
* Remove the required validation constraint from the LINK TO THE EXTERNAL PRODUCT field * Add changelog file
Submission Review Guidelines:
Changes proposed in this Pull Request:
Closes #43280
How to test the changes in this Pull Request:
Using the WooCommerce Testing Instructions Guide, include your detailed testing instructions:
New product editor
is enabled under/wp-admin/admin.php?page=wc-settings&tab=advanced§ion=features
Products
->Add new
from the left side menu.General
tab a descriptionThis is a standard product. Change product type
should be shown below theBasic details
section.Change product type
a dropdown menu should be shown listing all the available product types.Standard product
should be highlighted in blue.Affiliate product
from the list and error should be shown highlighting theNAME
field in red.NAME
field and then select theAffiliate product
from the list again.external
)Standard product
again should be done without showing any error.Changelog entry
Significance
Type
Message
Comment