Question about customer_display_text for email Invoice


  • Default avatar
    vloos    
     7 years ago
    0

    Hi,

    I am using AwoCoupon as a better solution to Virtuemart's coupon management system. I use {customer_display_text:message} on all of the coupons to display more details to the customer. This feature works in the cart as they're checking out to displays the whole message but is cut short when displaying the same message in the email invoice they receive.

    Thanks,
    vloos

    https://bayoupublishing.com/images/images_hold/email-invoice.png
    https://bayoupublishing.com/images/images_hold/backend-message.png
  • Your avatar
    seyi    
     7 years ago
    0

    Hello,

    I am guessing it is saving about 32 characters. This is a virtuemart site right? If so, you would need to update the database to save more characters. Running a query like this will update it to 255 characters:

    ALTER TABLE #__virtuemart_coupons MODIFY coupon_code VARCHAR(255) NOT NULL DEFAULT '';


    You would need to change #_ to your actual table prefix.