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.
As 2024 wraps up, the dropshipping landscape is already shifting towards 2025's trends....
By JasonH Nov 27, 2024Hey Community! It’s time to share some appreciation and celebrate what we have accomplis...
By JasonH Nov 14, 2024In today’s interview, we sat down with @BSS-Commerce to discuss practical strategies f...
By JasonH Nov 13, 2024