Hello,
I would like to automatically add a coupon (-30%) on all products (for example). Is that possible?
If so, how does it do and is it possible to view the discounts in the node? (example: 500$ -30%)
Thank you very much for your help!
Hello,
I would like to automatically add a coupon (-30%) on all products (for example). Is that possible?
If so, how does it do and is it possible to view the discounts in the node? (example: 500$ -30%)
Thank you very much for your help!
Comments
Comment #1
wodenx commented1. enable the uc_coupon_workflow module
2. create the coupon you want to apply automatically (admin/store/coupons/add)
3. create a new rule (admin/config/workflow/rules/reaction/add)
-under "React on Event" select "Check for automatic discounts"
4. add any conditions you would like
5. add the "Apply a coupon to the current order" action.
At the moment, it is not possible to view the discounts in the node - coupon discounts are only applied on the cart and checkout pages.
Comment #2
Clément commentedThank you very much for your help!
It works perfectly. I am so relieved... :)
To display the discount in the node and the views it annoying.
I will try to recover the percentage by causing a MySQL query. If I can not, I would add a field "discount" in the node.
Greetings.