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

wodenx’s picture

Category: task » support

1. 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.

Clément’s picture

Status: Active » Fixed

Thank 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.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.