-
Notifications
You must be signed in to change notification settings - Fork 9.4k
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
Add validation in catalog rule and shopping cart rule form #25172
Add validation in catalog rule and shopping cart rule form #25172
Conversation
Hi @edenduong. Thank you for your contribution
For more details, please, review the Magento Contributor Guide documentation. |
@magento give me test instance |
Hi @rodrigowebjump. Thank you for your request. I'm working on Magento instance for you |
Hi @rodrigowebjump, here is your new Magento instance. |
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.
Hi @edenduong
Thanks for your contribution.
Hi @rodrigowebjump, thank you for the review.
|
Hi @edenduong, And due to Magento Definition of Done all code must be covered by tests. Please cover your fix by automated tests. @edenduong Could you take a look? Thanks! |
@engcom-Alfa: I have changed the source code and Cover my fix with MFTF Test. Please check it again. Thanks. |
Hi @VladimirZaets, thank you for the review. |
✔️ QA Passed |
…alidate_catalog_cart_rule # Conflicts: # app/code/Magento/CatalogRule/Test/Mftf/ActionGroup/CatalogPriceRuleActionGroup.xml # app/code/Magento/SalesRule/Test/Mftf/Section/AdminCartPriceRulesFormSection.xml
Hi @edenduong, thank you for your contribution! |
Description (*)
Some fields in Catalog Rule and Shopping Cart Rule form should have more validations (Priority, Uses per Coupon, Uses per Customer, Discount Amount, Maximum Qty Discount is Applied To, Discount Qty Step (Buy X))
Fixed Issues (if relevant)
Manual testing scenarios (*)
Marketing-> Catalog Price Rule -> Add New Rule
Questions or comments
Contribution checklist (*)