-
Notifications
You must be signed in to change notification settings - Fork 9.4k
Discount applying on Shipping Amount for the rule 'Buy X get Y free (discount amount is Y)' #28839
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
Discount applying on Shipping Amount for the rule 'Buy X get Y free (discount amount is Y)' #28839
Conversation
Hi @engcom-Echo. Thank you for your contribution
❗ Automated tests can be triggered manually with an appropriate comment:
You can find more information about the builds here ℹ️ Please run only needed test builds instead of all when developing. Please run all test builds before sending your PR for review. For more details, please, review the Magento Contributor Guide documentation. |
@magento run all tests |
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 @engcom-Echo,
Could you cover your changes with some types of tests?
@magento run all tests |
@magento give me 2.3.5-p1 instance |
Hi @bradleybrecher. Thank you for your request. I'm working on Magento 2.3.5-p1 instance for you |
Hi @bradleybrecher, here is your Magento instance. |
* @param Rule $rule | ||
* @return float | ||
*/ | ||
private function getDiscountQtyAllItemsBuyXGetYAction($quote, $rule) |
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.
Can we define argument & return types here?
a998ee1
to
3b33889
Compare
@magento run all tests |
Hi @ihor-sviziev, thank you for the review. |
… get Y free (discount amount is Y)' #28839
Hi @engcom-Echo, thank you for your contribution! |
Description (*)
Fixed Issues (if relevant)
Manual testing scenarios (*)
Questions or comments
Contribution checklist (*)