Liquid、JavaScript、主题、销售渠道。
Code
{% capture email_title %}
{% if item_count == 1 %}
THE PERFECT ITEM IS STILL IN YOUR CART.
{% else %}
THE PERFECT ITEMS ARE STILL IN YOUR CART.
{% endif %}
{% endcapture %}
{% capture email_body %}
{% if billing_address.first_name %}
{% if item_count == 1 %}
Hi {{ billing_address.first_name }},<br><br>This is just a quick courtesy emal to remind you about your cart which will expire soon. Click below to let us transport you right back where you left off!<br><br>Use this exclusive discount code "custom5" to save 5% on orders over $180.
{% else %}
Hi {{ billing_address.first_name }},<br><br>This is just a quick courtesy emal to remind you about your cart which will expire soon. Click below to let us transport you right back where you left off!<br><br>Use this exclusive discount code "custom5" to save 5% on orders over $180.
{% endif %}
{% else %}
{% if item_count == 1 %}
Hi,<br><br>This is just a quick courtesy emal to remind you about your cart which will expire soon. Click below to let us transport you right back where you left off!<br><br>Use this exclusive discount code "custom5" to save 5% on orders over $180.
{% else %}
Hi,<br><br>This is just a quick courtesy emal to remind you about your cart which will expire soon. Click below to let us transport you right back where you left off!<br><br>Use this exclusive discount code "custom5" to save 5% on orders over $180.
{% endif %}
{% endif %}
{% endcapture %}
<!DOCTYPE html>
<html lang="en">
<head>
<title>{{ email_title }}</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="viewport" content="width=device-width">
<link rel="stylesheet" type="text/css" href="/assets/notifications/styles.css">
<style>
.button__cell { background: {{ shop.email_accent_color }}; }
a, a:hover, a:active, a:visited { color: {{ shop.email_accent_color }}; }
</style>
</head>
<body>
<table class="body">
<tr>
<td>
<table class="header row">
<tr>
<td class="header__cell">
<center>
<table class="container">
<tr>
<td>
<table class="row">
<tr>
<td class="shop-name__cell">
{%- if shop.email_logo_url %}
<img src="{{shop.email_logo_url}}" alt="{{ shop.name }}" width="{{ shop.email_logo_width }}">
{%- else %}
<h1 class="shop-name__text">
<a href="{{shop.url}}">{{ shop.name }}</a>
</h1>
{%- endif %}
</td>
</tr>
</table>
</td>
</tr>
</table>
</center>
</td>
</tr>
</table>
<table class="row content">
<tr>
<td class="content__cell">
<center>
<table class="container">
<tr>
<td>
<h2>{{ email_title }}</h2>
{% if custom_message != blank %}
<p>{{ custom_message }}</p>
{% else %}
<p>{{ email_body }}</p>
{% endif %}
<table class="row actions">
<tr>
<td class="empty-line"> </td>
</tr>
</table>
</td>
</tr>
</table>
</center>
</td>
</tr>
</table>
<table class="row section">
<tr>
<td class="section__cell">
<center>
<table class="container">
<tr>
</tr>
</table>
<table class="container">
<tr>
<td>
<table class="row">
{% for line in subtotal_line_items %}
<tr class="order-list__item">
<td class="order-list__item__cell">
<table>
<td>
{% if line.image %}
<img src="{{ line | img_url: 'compact_cropped' }}" align="left" width="60" height="60" class="order-list__product-image"/>
{% endif %}
</td>
<td class="order-list__product-description-cell">
{% if line.product.title %}
{% assign line_title = line.product.title %}
{% else %}
{% assign line_title = line.title %}
{% endif %}
{% if line.quantity < line.quantity %}
{% capture line_display %} {{ line.quantity }} of {{ line.quantity }} {% endcapture %}
{% else %}
{% assign line_display = line.quantity %}
{% endif %}
<span class="order-list__item-title">{{ line_title }} × {{ line_display }}</span><br/>
{% if line.variant.title != 'Default Title' %}
<span class="order-list__item-variant">{{ line.variant.title }}</span><br/>
{% endif %}
{% if line.selling_plan_allocation %}
<span class="order-list__item-variant">{{ line.selling_plan_allocation.selling_plan.name }}</span><br/>
{% endif %}
{% if line.refunded_quantity > 0 %}
<span class="order-list__item-refunded">Refunded</span>
{% endif %}
{% if line.discount_allocations %}
{% for discount_allocation in line.discount_allocations %}
{% if discount_allocation.discount_application.target_selection != 'all' %}
<span class="order-list__item-discount-allocation">
<img src="{{ 'notifications/discounttag.png' | shopify_asset_url }}" width="18" height="18" class="discount-tag-icon" />
<span>
{{ discount_allocation.discount_application.title | upcase }}
(-{{ discount_allocation.amount | money }})
</span>
</span>
{% endif %}
{% endfor %}
{% endif %}
</td>
</table>
</td>
</tr>{% endfor %}
<tr>
<td class="actions__cell">
<table class="button main-action-cell">
<tr>
<td class="button__cell"><a href="{{ url }}" class="button__text">RECLAIM MY CART!</a></td>
</tr>
</table>
{% if shop.url %}
<table class="link secondary-action-cell">
<tr>
<td class="link__cell">or <a href="{{ shop.url }}">Visit our store</a></td>
</tr>
</table>
<p style="color: #777; line-height: 150%; font-size: 16px; margin: 0;">
<br>If you have any other concerns, please feel free to message us at service@hexgaming.com
{% endif %}
</p>
</td>
</tr>
</table>
</td>
</tr>
</table>
</center>
</td>
</tr>
</table>
<table class="row footer">
<tr>
<td class="footer__cell">
<center>
<table class="container">
<tr>
<td>
<p class="disclaimer__subtext">Don't want to receive cart reminders from us? <a href="{{ unsubscribe_url }}">Unsubscribe</a></p>
</td>
</tr>
</table>
</center>
</td>
</tr>
</table>
<img src="{{ 'notifications/spacer.png' | shopify_asset_url }}" class="spacer" height="1" />
</td>
</tr>
</table>
</body>
</html>
在这个竞争激烈的数字化时代,公司需要有效的策略来宣传自己的品牌并吸引客户。其中,博客就是一个强有力的工具。一个精心策划的博客不仅可以帮您在网络上树立形象,还能让您与目标受众进...
By OwenX7 Mar 26, 2024支付网关是一种机制,用于在客户和商家之间传输交易信息。支付网关使信用卡和数字支付处理成为可能。在线支付网关是基于云的软件,而面对面零售网关通常包含在 POS 系统中。您需...
By Vikki Mar 24, 2024Shopify 积极为全球最富创新力的品牌和创业家提供支持。为了帮助个人和各种规模的企业实现增长,Shopify Academy(仅提供英文版)将在 2024 年推出全新的英...
By SarahF_Shopify Mar 24, 2024