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 |
---|---|
32 | |
27 | |
20 | |
7 | |
7 |
We're excited to announce improvements to the threaded messaging experience in our communi...
By TyW May 31, 2023Thank you to everyone who participated in our AMA with Klaviyo. It was great to see so man...
By Jacqui May 30, 2023Photo by Marco Verch Sales channels on Shopify are various platforms where you can sell...
By Ollie May 25, 2023