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 | |
24 | |
12 | |
10 | |
9 |
Thanks to all who participated in our AMA with 2H Media on planning your 2023 marketing bu...
By Jacqui Mar 30, 2023Thanks to all Community members that participated in our inaugural 2 week AMA on the new E...
By Jacqui Mar 10, 2023Upskill and stand out with the new Shopify Foundations Certification program
By SarahF_Shopify Mar 6, 2023