If user register with website and send to the coupon code for that customer. How to get the coupon code and sent to the customer? Is it possible to generate coupon code automatically?

1 Answer 1


You can follow this post and create your own codes:


For send email with generated coupon you can create a module, with event observer customer_register_success that generate the coupon and send email

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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