-
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
leading zeros doesn't accountable in the cart for the cart price rule… #39525
base: 2.4-develop
Are you sure you want to change the base?
leading zeros doesn't accountable in the cart for the cart price rule… #39525
Conversation
Hi @magentoabu. Thank you for your contribution!
Allowed build names are:
You can find more information about the builds here For more details, review the Code Contributions documentation. |
@magento run all tests |
@magentoabu can you pls sign Adobe CLA? |
@nuzil ,its done as Adobe CLA signed. Thanks |
@magentoabu if you can, can you check Static tests? Cause you changed file, it being validated and requires some comment modifications. |
@magento run all tests |
@magento run Static Tests |
1 similar comment
@magento run Static Tests |
@magentoabu I am taking care of the changes. Thank you! |
@magento run all tests |
@magento run Unit Tests, WebAPI Tests, Integration Tests, Functional Tests B2B, Functional Tests EE, Functional Tests CE |
47b493e
to
8521188
Compare
…art rules conditions
@magento run all tests |
@magento run all tests |
@magento run all tests |
Modified the implementation for the strings starting with "0". Also, added the unit tests. Hence moving this back to pending review. |
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.
app/code/Magento/Rule/Test/Unit/Model/Condition/AbstractConditionTest.php
Outdated
Show resolved
Hide resolved
app/code/Magento/Rule/Test/Unit/Model/Condition/AbstractConditionTest.php
Show resolved
Hide resolved
@engcom-Hotel I have updated the PR with the requested changes hence moving it to the pending review. Thank You! |
@magento run all tests |
@magento run all tests |
Hi @magentoabu, Thanks for the collaboration & contribution! ✔️ QA PassedPreconditions:
Steps to reproduce
Before: ✖️ After: ✔️ Builds are failed. Hence, moving this PR to Extended Testing. Thanks. |
@magento run all tests |
… issue fixed
Description (*)
Related Pull Requests
Fixed Issues (if relevant)
Manual testing scenarios (*)
Specific coupon
Coupon code: TESTSKU
ACTION: percent of product price discount, 50% discount amount)
Apply the rule only to cart items ... (SKU is 01234).
4.Go to shop front and add product SKU 1234 to CART.
5.On the cart page enter the coupon code TESTSKU.
6.Discount for product with SKU: 1234 of 50% didn't applied.
Questions or comments
Contribution checklist (*)