HTML Email For Gift Certificate Show Code In Email


  • Default avatar
    thomasina    
     13 years ago
    0

    Is it possible to also include the coupon code in the body of the email along with the attachment when using the HTML email? I put the {gift_certificates} placeholder in, but it is not getting replaced when using the HTML email.

    Thanks,

    Paul
  • Your avatar
    seyi    
     13 years ago
    0

    Not without editing code. By default it only works for text emails. If you want it to work for html emails too, you can comment out the check. In www/administrator/components/com_awocoupon/assets/virtuemart/ps_awo_giftcert.php, around line 145, comment out the if condition
    <?php
    if($profile['message_type']=='text') {
    ?>