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.
Hey Community! As we jump into 2025, we want to give a big shout-out to all of you wh...
By JasonH Jan 7, 2025Hey Community! As the holiday season unfolds, we want to extend heartfelt thanks to a...
By JasonH Dec 6, 2024Dropshipping, a high-growth, $226 billion-dollar industry, remains a highly dynamic bus...
By JasonH Nov 27, 2024