Empty {vouchers} in gift certificate email


  • Default avatar
    kagkelidis    
     3 years ago
    0

    Hello and thank you in advance for your time.


    We have created a Gift card coupon, and a Gift certificate product, according to the instructions provided here:

    https://awodev.com/blog/sell-gift-certificates-online-your-virtuemart-store


    We followed all instructions, and placed some test orders. The coupons are created correctly in the back-end.

    Since these are test purchases, we use the standard Virtuemart payment method, which results in orders being added as confirmed by shopper. We then go in the Orders view of Virtuemart and confirm the order. Once confirmed, we receive the coupon email, but the {vouchers} tag is replaced with empty text. There's no coupon code in the email whatsoever.

    What can we do?


    Thanks again.

  • Your avatar
    seyi    
     3 years ago
    0

    Hello,

    Edit the email template.  Your vouchers text is probably empty, which is why it shows up blank.  By default:

    Gift Certificate: {voucher}<br />Value: {price}{expiration_text}<br /><br />
    <br />Expiration: {expiration}

    Please update the vouchers text fields with at least the default.

  • Default avatar
    kagkelidis    
     3 years ago
    0

    Thank you, that will probably solve it. I'll try it tomorrow.

    I appreciate your help.


    However, it would be useful if there was at least a warning about that, because it's below the editor and I didn't see it.

    Thanks again!