Skip to content

Commit

Permalink
Adds Customer payment method update request
Browse files Browse the repository at this point in the history
  • Loading branch information
rickydazla committed Feb 11, 2021
1 parent 19eccf6 commit c77329e
Showing 1 changed file with 118 additions and 0 deletions.
118 changes: 118 additions & 0 deletions customer/customer_update_payment_method.liquid
@@ -0,0 +1,118 @@
<!--
Customer payment method update request
Sent to the customer when they ask to update their stored payment method.
Subject: Edit your payment details
-->
{% capture email_title %}Edit your payment details{% endcapture %}
{% capture email_body %}
Follow the link to edit your payment details for subscription orders at
<a href="{{shop.url}}">{{shop.name}}</a>.
If you didn't request a change to your payment method, you can safely delete this email.
{% 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>
<p>{{ email_body }}</p>
<table class="row actions">
<tr>
<td class="empty-line"> </td>
</tr>
<tr>
<td class="actions__cell">
<table class="button main-action-cell">
<tr>
<td class="button__cell"><a href="{{ email_confirmation_url }}" class="button__text">Edit payment details</a></td>
</tr>
</table>
</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">If you have any questions, reply to this email or contact us at <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>

0 comments on commit c77329e

Please sign in to comment.