Gift card receipt
Sent by Shopify to the customer, if they add a recipient to their gift card.
{{ shop.name }} بطاقة هدايا بقيمة {{ gift_card.initial_value | money_without_trailing_zeros }}{% if gift_card.recipient %} لـ {% if gift_card.recipient.nickname != blank %}{{ gift_card.recipient.nickname }}{% elsif gift_card.recipient.name != blank %}{{ gift_card.recipient.name }}{% else %}{{ gift_card.recipient.email }}{% endif %}{% endif %}
{% if gift_card.recipient %}
{% if gift_card.recipient.nickname != blank %}
{% assign recipient_name = gift_card.recipient.nickname %}
{% elsif gift_card.recipient.name != blank %}
{% assign recipient_name = gift_card.recipient.name %}
{% else %}
{% assign recipient_name = gift_card.recipient.email %}
{% endif %}
{% capture email_title %}
{% if gift_card.send_on != blank %}
إليك بطاقة الهدايا التي سيتم إرسالها إلى {{ recipient_name }} في {{ gift_card.send_on | date: '%B %e, %Y' }}.
{% else %}
إليك بطاقة الهدايا التي تم إرسالها إلى {{ recipient_name }}.
{% endif %}
{% endcapture %}
{% endif %}
<!DOCTYPE html>
<html lang="ar">
<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>
body {direction:rtl}
.button__cell { background: {{ shop.email_accent_color }}; }
a, a:hover, a:active, a:visited { color: {{ shop.email_accent_color }}; }
</style>
</head>
<body>
<table align="center" class="body giftcard__body">
<tr>
<td class="empty-line"> </td>
</tr>
<tr>
<td class="empty-line"> </td>
</tr>
<tr>
<td>
<table class="row content">
<tr>
<td class="content__cell">
<center>
<table class="container">
<tr>
<td>
{% if shop.email_logo_url %}
<table align="center" class="giftcard__doubletopmargin">
<tr>
<td>
<img src="{{shop.email_logo_url}}" alt="{{ shop.name }}" class="giftcard__logosize" width="{{ shop.email_logo_width }}">
</td>
</tr>
</table>
{% endif %}
<table align="center" class="row giftcard__topmargin">
<tr>
<td class="giftcard__title">{{ email_title }}</td>
</tr>
</table>
{% if gift_card.recipient and gift_card.message != blank %}
<table align="center" class="row giftcard__topmargin">
<tr>
<td class="giftcard__message">
"{{ gift_card.message }}"
</td>
</tr>
</table>
{% endif %}
<table align="center" class="giftcard__topmargin">
<tr>
<td class="giftcard__balance">{{ gift_card.initial_value | money_with_currency }}</td>
</tr>
{% if gift_card.expires_on %}
<tr>
<td class="giftcard__smalltext">
تنتهي الصلاحية في {{ gift_card.expires_on | date: '%B %e, %Y' }}
</td>
</tr>
{% endif %}
</table>
<table align="center" class="giftcard__doubletopmargin">
<tr>
<td>
<img src="{{ 'gift-card/card.jpg' | shopify_asset_url }}" alt="صورة بطاقة الهدايا" width="240" height="160">
</td>
</tr>
</table>
<table align="center" class="row giftcard__topmargin">
<tr>
<td class="giftcard__shop_name">{{ shop.name }}</td>
</tr>
</table>
<table align="center" class="row giftcard__topmargin">
<tr>
<td class="giftcard__smalltext">
استخدم رمز بطاقة الهدايا عبر الإنترنت
</td>
</tr>
<tr>
<td class="giftcard__code">
{{ gift_card.code | format_code }}
</td>
</tr>
</table>
<table class="row actions">
<tr>
<td class="actions__cell">
<table align="center" class="button">
<tr>
<td class="button__cell"><a href="{{ shop.url }}" class="button__text">زيارة المتجر الإلكتروني</a></td>
</tr>
</table>
<table align="center" class="button">
<tr>
<td class="link__cell"><a href="{{ gift_card.url }}" class="link__text">عرض رصيد بطاقة الهدايا</a></td>
</tr>
</table>
</td>
</tr>
</table>
{% if gift_card.pass_url %}
<table align="center" class="row">
<tr>
<td class="giftcard__textcenter">
<a href="{{ gift_card.pass_url }}" class="apple-wallet-button">
<img src="{{ 'gift-card/add-to-apple-wallet.png' | shopify_asset_url }}" alt="إضافة إلى Apple Wallet" width="120" height="40">
</a>
</td>
</tr>
</table>
{% endif %}
</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">إذا كان لديك أي أسئلة، يرجى الرد على هذا البريد الإلكتروني أو الاتصال بنا على <a href="mailto:{{ shop.email }}">{{ shop.email }}</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>
Last updated