1

I am working on a custom module in which I need to generate a coupon with "n" number of uses per order while clicking "Place Order" in checkout page.

Can anyone suggest me the best way for it.

1

What exactly is your problem? you hook into the sales_order_place_after(?) event and generate coupon codes for a given rule. If you need to define the rule, you create the rule beforehand and afterwards the coupons.

  • Thank You.. can you pls share me the script to generate coupon that's hassle free for place order event.. if u have any! – Swetha Vaidyanathan Jun 25 '15 at 13:35

Not the answer you're looking for? Browse other questions tagged or ask your own question.