Liquid, JavaScript, themes, sales channels
Working on a custom theme but want to use the standard newsletter signup. This seems to be fairly generically used across Shopify's own and other themes.
{% form 'customer' %}
{{ form.errors | default_errors }}
<input type="hidden" name="contact[tags]" value="newsletter">
<div class="input-group">
<input type="email" value="" placeholder="" name="contact[email]" id="NewsletterEmail" autocorrect="off" autocapitalize="off">
<div class="input-group__btn">
<button type="submit" class="btn" name="commit" id="Subscribe">go</button>
</div>
</div>
{% endform %}
However, if you try to add an email address, CAPTCHA appears with a second submit button which then attempts to hit /contact which 404's - and the email is not captured in the customer list.
I'm facing the same issue. Did you find any solution? Can support help?
User | RANK |
---|---|
25 | |
25 | |
8 | |
7 | |
6 |
Explore the 30-30-30 rule, a dynamic social media strategy for new businesses. Learn how t...
By Trevor Sep 20, 2023Discover how to leverage the often overlooked footer of your ecommerce site to gain custom...
By Skye Sep 15, 2023In this blog, we’ll be shining a light on Shopify Partners, Experts, and Affiliates. Who a...
By Imogen Sep 13, 2023