Shopify:订阅时发送通知给客户

时间:2018-09-04 04:17:20

标签: email shopify subscription subscribe

大家好,有一种方法可以向订阅的客户发送通知或电子邮件。我已经在模板中添加了表单,但是它只保存客户。

{% form 'customer' %}
      <div class="newsletter">
        <label for="Email" class="h4 newsletter-title">Newsletter</label>
        <input type="hidden" name="contact[tags]" value="newsletter">
        <input type="email"
               name="contact[email]"
               id="Email"
               class="input-group__field newsletter__input newsletter-input"
               value="{% if customer %}{{ customer.email }}{% endif %}">
        <button type="submit" class="btn newsletter__submit newsletter-submit" name="commit" id="Subscribe">
          SUBSCRIBE
        </button>
      </div>
{% endform %}

谢谢

0 个答案:

没有答案