NZA
1
Good day, i am trying to change the gift card image in the email sent to the client,
I already uploaded the Asset and changed the code in the gift_card.liquid file and assigned the right asset to it.
However the email image is still the same:
Does anyone know how i can edit the image in the email ??
Store url: https://www.truetosole.hu/
Thank you very much for the help in advance!
NZA
2
Here is the code for the gift_card.liquid file:
{%- layout 'gift_card' -%}
# {{ 'gift_card.issued.subtext' | t }}
{%- capture print_link -%}
{{ 'gift_card.issued.print' | t }}
{%- endcapture -%}
{{ 'gift_card.issued.redeem_html' | t: print_link: print_link }}
{%- if gift_card.enabled and gift_card.expired == false -%}
{%- assign formatted_initial_value = gift_card.initial_value | money_without_trailing_zeros: gift_card.currency -%}
{{ 'gift_card.issued.initial_amount_html' | t: initial_amount: formatted_initial_value }}
{%- if gift_card.balance != gift_card.initial_value -%}
{%- assign formatted_balance = gift_card.balance | money_without_trailing_zeros: gift_card.currency -%}
{{ 'gift_card.issued.remaining_balance_html' | t: balance: formatted_balance }}
{%- endif -%}
{%- if gift_card.expires_on -%}
{%- assign gift_card_expiry_date = gift_card.expires_on | date: format: 'month_day_year' -%}
{{ 'gift_card.issued.expires_on' | t: expiry: gift_card_expiry_date }}
{%- endif -%}
{%- else -%}
{%- if gift_card.expired and gift_card.enabled -%}
{%- assign gift_card_expiry_date = gift_card.expires_on | date: format: 'month_day_year' -%}
{{ 'gift_card.issued.expired' | t: expiry: gift_card_expiry_date }}
{%- else -%}
{{ 'gift_card.issued.disabled' | t }}
{%- endif -%}
{%- endif -%}
{{ gift_card.code | format_code }}
{%- if gift_card.pass_url -%}
{%- endif -%}
{{ 'gift_card.issued.shop_link' | t }}
Where can i change the one inside the email ?
@NZA
Please share your giftcard image name
Thanks!
NZA
4
@dmwwebartisan
The name of the asset is, email-card.png