-
-
Notifications
You must be signed in to change notification settings - Fork 436
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 "Times used" indicator field to promo rule quote grid #1853
Conversation
When i filter by
Also there seems to be discrepancies between |
Hmm interesting, maybe this is the reason why this field wasn't yet in the main grid. i will fix this asap. |
4b7f3ea
to
843b373
Compare
With the latest version on my dev i can only trigger the wrong "times_used" counter from "salesrule" table when i cancel the order. |
@spinsch if it's resolve do we still need this PR? thank you! |
@fballiano this pr should actually only insert a column in the table with the value of "times_used" so that you can see how many times the rule was applied and is to be considered as a feature. the discussed problem after that refers to the wrong counting of the counter which appeared by the way. if i merge my pr with the other two, then everything had worked as desired for me. |
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.
ok tested and working, if payment is canceled the salesrule table wasn't updated, with the patch it works
When I use a single coupon code without the generator, there is no field in the main grid to check how many times the coupon has been used.
Description (*)
When I use a single coupon code without the generator, there is no indicator to check how many times the coupon has been used.
And when i cancel an order the "times_used" field from the "salesrule" table was not decremented.
This PR will show the "times_used" field in the promo rule quote grid and fixes the decrementing while cancel an order.
Manual testing scenarios (*)
Contribution checklist