FR - Gift Card Receipt

 avatar
unknown
plain_text
a year ago
5.4 kB
8
Indexable
{% 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 %}
      Voici votre carte-cadeau qui sera envoyée à {{ recipient_name }} le {{ gift_card.send_on | date: '%B %e, %Y' }}.
    {% else %}
      Voici votre carte-cadeau qui sera envoyée à {{ recipient_name }}.
    {% endif %}
  {% endcapture %}
{% endif %}
{% assign gift_hide_amount = false %}
{% for tag in gift_card.product.tags %}
{% if tag == 'hide_remaining_amount' %}
{% assign gift_hide_amount = true %}
{% endif %}
{% endfor %}
<!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 align="center" class="body giftcard__body">
      <tr>
        <td class="empty-line">&nbsp;</td>
      </tr>
      <tr>
        <td class="empty-line">&nbsp;</td>
      </tr>
      <tr>
        <td>
          <table class="row content">
  <tr>
    <td class="content__cell">
      <center>
        <table class="container">
          <tr>
            <td>
              
            
  <table align="center" class="row">
    <tr>
      <td class="giftcard__title">{{ email_title }}</td>
    </tr>
  </table>
  <br />

<table class="row giftcard__topmargin">
  <tr>
    <td class="empty-line">&nbsp;</td>
  </tr>
</table>

<table align="center">

  {% if gift_hide_amount == false %}
  <tr>
    <td class="giftcard__balance">{{ gift_card.initial_value | money_with_currency }}</td>
  </tr>
  {% endif %}
  {% if gift_card.expires_on %}
    <tr>
      <td class="giftcard__smalltext">
        Expire le {{ gift_card.expires_on | date: '%B %e, %Y' }}
      </td>
    </tr>
  {% endif %}
</table>

{% if gift_card.recipient and gift_card.message != blank %}
  <table align="center" class="row giftcard__topmargin">
    <tr>
<td class="giftcard__message">«&nbsp;{{ gift_card.message }}&nbsp;»</td>
</tr>
</tbody>
</table>
{% endif %}
<table class="giftcard__topmargin" align="center">
<tbody>
<tr>
<td>{%- if shop.email_logo_url %} <img class="giftcard__logosize" alt="{{ shop.name }}" src="{{shop.email_logo_url}}"> {%- else %} <img height="160" width="240" alt="Image de carte-cadeau" src="{{ 'gift-card/card.jpg' | shopify_asset_url }}"> {% endif %}</td>
</tr>
</tbody>
</table>
<table class="row giftcard__topmargin" align="center">
<tbody>
<tr>
<td class="giftcard__shop_name">{{ shop.name }}</td>
</tr>
</tbody>
</table>
<table class="row giftcard__topmargin" align="center">
<tbody>
<tr>
<td class="giftcard__smalltext"><br>Utilisez ce code de carte-cadeau en ligne ou en boutique. <br><br>Pour les soins ou services, vous devrez présenter votre code en boutique, suite à votre service, au moment du paiement. Le code de votre carte-cadeau n'est pas à entrer lors de la réservation en ligne.<br><br> Pour les cartes-cadeaux forfaits soins L'Expérience, la réservation en ligne n'est pas disponible. Veuillez nous envoyer un courriel à hello@beautieslab.co ou nous appeler au (514) 240-0847 pour réserver.<br><br></td>
</tr>
<tr>
<td class="giftcard__code">{{ gift_card.code | format_code }}</td>
</tr>
</tbody>
</table>
<table class="row actions">
<tbody>
<tr>
<td class="actions__cell">
<table class="button" align="center">
<tbody>
<tr>
<td class="button__cell"><a class="button__text" href="{{ shop.url }}">Visiter la boutique en ligne</a></td>
</tr>
</tbody>
</table>
<table class="button" align="center">
<tbody>
<tr>
<td class="giftcard__smalltext"><br>Si vous avez reçu une carte-cadeau <b>service</b>, le lien ci-dessous vous conduira à votre certificat cadeau.<br><br>Si vous avez reçu une carte-cadeau à <b>valeur monétaire</b>, le lien vous mènera au solde de votre carte-cadeau.<br><br></td>
</tr>
<tr>
<td class="link__cell"><a class="link__text" href="{{ gift_card.url }}">Voir la carte-cadeau</a></td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
{% if gift_card.pass_url %}
<table class="row" align="center">
<tbody>
<tr>
<td class="giftcard__textcenter"><a class="apple-wallet-button" href="{{ gift_card.pass_url }}"> <img height="40" width="120" alt="Add to Apple Wallet" src="{{ 'gift-card/add-to-apple-wallet.png' | shopify_asset_url }}"> </a></td>
</tr>
</tbody>
</table>
{% endif %}</td>
</tr>
</tbody>
</table>
</center></td>
</tr>
</tbody>
</table>
<table class="row footer">
<tbody>
<tr>
<td class="footer__cell"><center>
<table class="container">
<tbody>
<tr>
<td>
<p class="disclaimer__subtext">Si vous avez des questions, veuillez répondre à cet e-mail ou nous contacter à <a href="mailto:{{ shop.email }}">{{ shop.email }}</a></p>
</td>
</tr>
</tbody>
</table>
</center></td>
</tr>
</tbody>
</table>
<img height="1" class="spacer" src="{{ 'notifications/spacer.png' | shopify_asset_url }}"></td>
</tr>
</tbody>
</table>
Editor is loading...
Leave a Comment