Pre-generated Coupon sent on registration email


  • Default avatar
    daniele7    
     6 years ago
    0

    Hi, I've created already a coupon that users can use only one time once they have registered on website.

    I'd like to send the coupon with the registration email, is it possible?

    I have virtuemart 3 installed and VP one page checkout.

    Many thanks

  • Your avatar
    seyi    
     6 years ago
    0

    Hello,

    Are you saying you have created one coupon that works for all users and want to add this to your registration email?  This really depends on your registration.  If registering through Joomla you should be able to override the registration email in the language:
    - COM_USERS_EMAIL_REGISTERED_WITH_ACTIVATION_BODY
    - COM_USERS_EMAIL_REGISTERED_WITH_ACTIVATION_BODY_NOPW
    - COM_USERS_EMAIL_REGISTERED_BODY
    - COM_USERS_EMAIL_REGISTERED_BODY_NOPW

    If registering through Virtuemart, the registration email is here:
    - /www/components/com_virtuemart/views/user/tmpl/mail_html_reguser.php
    - /www/components/com_virtuemart/views/user/tmpl/mail_raw_reguser.php

    You should be able to copy these files to this folder and modify them
    /templates/[YOUR_TEMPLATE]/html/com_virtuemart/user/