Personalized checkout and custom promotions with Shopify Scripts
<main> <div class="gift-card__image-wrapper"> {%- if settings.logo != blank -%} {%- assign logo_alt = settings.logo.alt | default: shop.name | escape -%} {{ settings.logo | image_url: width: 170 | image_tag: class: 'gift-card__image', alt: logo_alt }} {%- else %} <img class="gift-card__image" src="{{ 'gift-card/card.svg' | shopify_asset_url }}" alt="" height="{{ 570 | divided_by: 1.5 }}" width="570" > {%- endif %} </div> <h2>{{ shop.name }}</h2> ....rest of code....
<table align="center" class="giftcard__topmargin"> <tr> <td> {%- if shop.email_logo_url %} <img src="{{shop.email_logo_url}}" alt="{{ shop.name }}" class="giftcard__logosize"> {%- else %} <img src="{{ 'gift-card/card.jpg' | shopify_asset_url }}" alt="Gift card image" width="240" height="160"> {% endif %} </td> </tr> </table>
<table align="center" class="giftcard__topmargin"> <tr> <td> {%- if shop.email_logo_url %} <img src="{{shop.email_logo_url}}" alt="{{ shop.name }}" class="giftcard__logosize"> {%- else %} <img src="{{ 'gift-card/card.jpg' | shopify_asset_url }}" alt="Gift card image" width="240" height="160"> {% endif %} </td> </tr> </table>Here's what these emails look like. The "2xEDGE" circled in red is where the custom graphic should display.
Gift card confirmation
Thanks in advance for any/all help!
Hello, I'm having the same issue. Please, did you find the solution?
Thank you in advance.
June brought summer energy to our community. Members jumped in with solutions, clicked ...
By JasonH Jun 5, 2025Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025