Gift Card email


  • Default avatar
    acuaweb    
     6 years ago
    0

    I regularly create a gift card, everything is ok but in the email I would like to specify the value and expiry date separately.

    Using the tag {vouchers} I get a single string with various data, I need to separate them on several lines and also to translate them into Italian

    The string I get:

    Gift Certificate: PiCap-Ghd6Yw7d\nValue: € 35,00\nExpiration: Giovedì, 12 Luglio 2018\n\n

    The result I would like:

    Codice Gift Card: PiCap-Ghd6Yw7d

    Valore: € 35,00

    Data di scadenza: Giovedì 12 Luglio 2018


    How can I do?

  • Your avatar
    seyi    
     6 years ago
    0

    When updating the email template profile, you can edit the fields
    - {vouchers}
    - {expiration_text}
  • Default avatar
    acuaweb    
     6 years ago  last edited 6 years ago
    0

    I had already tried to use the "reminder list" tags: {voucher_value}, {expiration_day_2digit} ,. {expiration_month_2digit} and {expiration_yerar_4digit} but in the mail they were not converted, they remained as pure code.

    How should I edit {voucher} and {expiration_text}?

  • Your avatar
    seyi    
     6 years ago
    0

    These are not tags, these are fields on the profile page, right under the email message section.  It allows you to customize how the {vouchers} tag appears within the email.
  • Default avatar
    acuaweb    
     6 years ago
    0

    ok, I saw them! Sorry!

    But now I do not know how to compile them ... which codes to specify the value? and which for the expiration date?

    Thanks for your patience...

  • Your avatar
    seyi    
     6 years ago
    0

    Here is the default:

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

    You can use those tags.