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
Update default Rules of cart promotion #15263
Conversation
zairigimad
commented
Aug 30, 2023
Q | A |
---|---|
Branch? | 1.12 or 1.13 |
Bug fix? | no |
New feature? | no |
BC breaks? | no |
Deprecations? | no |
Related tickets | fixes #X, partially #Y, mentioned in #Z |
License | MIT |
Co-authored-by: Jan Góralski <jan.wojciech.goralski@gmail.com>
61c1fc0
Bunnyshell Preview Environment deletedAvailable commands:
|
@@ -62,6 +62,8 @@ The types of rules that are configured in **Sylius** by default are: | |||
* **Items From Taxon Total** - checks in the cart if items from a given taxon cost a given amount of money, | |||
* **Nth Order** - checks if this is for example the second order made by the customer, | |||
* **Shipping Country** - checks if the order's shipping address is in a given country. | |||
* **Customer Group** - checks if the current customer is in a given customer group. | |||
* **Contains Product** - checks if the order contains a certain product. |
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.
Would be cool to sort rules the same way as in the admin panel
Some of the rules no longer match admin panel (Not needed captial letters at each word for rest),
--- Taxon
--- Items From Taxon Total
+++ Has at least one from taxons
+++ Total price of items from taxon
Cart quantity
Customer group
Nth order
Shipping country
Has at least one from taxons
Total price of items from taxon
Contains product
Item total
@zairigimad Hi, great catch 👍 Please let me know if you would like to handle this, or I will do a follow up PR.
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.
Nice catch too @diimpp I can add it if you want in this PR since it’s not merged yet.
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.
That would be awesome, I'll raise this PR for faster merge afterwards.
Sorry for a long wait 🙏
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.
it's done.
Thank you, @zairigimad! |