3

I need to show dynamically generated coupon code into my newsletter subscription success message in frontend:

I installed an extension of popup newsletter subscription module in Magento version 1.9.1.0. It's working well and sending the dynamic coupon code in mail, but I need to show a dynamically generated coupon code in my newsletter subscription success message in frontend. How can I do that?

3

1 Answer 1

0

So after the some action the customer gets the email with the code.

I assume in the code it's a controller action.

What you need is to add a view for this action (block and template) and in the template show generated coupon code. And the coupon generation function you already have in the module.

1

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.