Liquid, JavaScript, themes, sales channels
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!
User | RANK |
---|---|
37 | |
28 | |
13 | |
13 | |
9 |
On our Shopify Expert Marketplace, you can find many trusted third party developers and fr...
By Arno Nov 27, 2023You've downloaded the Search & Discovery app from the Shopify App store, and as you're ...
By Skye Nov 8, 2023The year-end shopping season is just around the corner. Is a flash sale on your radar? Are...
By Jasonh Nov 6, 2023