Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
Hello,
Is it possible to add checkbox for the customer who subscribes to newsletter?
This is the basic code of the form:
...
{%- if settings.subscription_method == 'shopify' -%}
{% form 'customer', id: null, class: 'form-group--type-inline d-flex d-flex flex-column flex-lg-row mb-0' %}
{% render 'form-get-check-error-popup' %}
<input type="hidden" name="contact[tags]" value="newsletter">
<input type="email" name="contact[email]" class="mb-10 mb-lg-0 mr-lg-10{% if form.errors %} input--error{% endif %}" placeholder="{{ section.settings.placeholder }}" required="required">
<input type="submit" class="btn" name="commit" value="{{ section.settings.button_text }}">
{% endform %}
...
Thank You!
Hey Community! As the holiday season unfolds, we want to extend heartfelt thanks to a...
By JasonH Dec 6, 2024Dropshipping, a high-growth, $226 billion-dollar industry, remains a highly dynamic bus...
By JasonH Nov 27, 2024Hey Community! It’s time to share some appreciation and celebrate what we have accomplis...
By JasonH Nov 14, 2024