{% if section.settings.heading != blank %}

{{ section.settings.heading | escape }}

{% endif %} {%- if section.settings.newsletter_subheading != blank -%} {{ section.settings.newsletter_subheading }} {%- endif -%}
{% form 'customer' %} {{ form.errors | default_errors }} {% if form.posted_successfully? %}

{{ 'general.newsletter_form.confirmation' | t }}

{% else %}
{% endif %} {% endform %}
{% include "social-icons" %}
{% schema %} { "name": "Newsletter", "class": "index-section", "settings": [ { "type": "text", "id": "heading", "label": "Heading", "default": "Subscribe to our newsletter" }, { "type": "color", "id": "heading_color", "label": "Heading", "default": "#000000" }, { "type": "richtext", "id": "newsletter_subheading", "label": "Subheading", "default": "

Signup for our newsletter to stay up to date on sales and events.

" }, { "type": "range", "id": "subheading_font_size", "min": 12, "max": 36, "step": 1, "unit": "px", "label": "Subheading size", "default": 16 }, { "type": "select", "id": "subheading_font_weight", "label": "Subheading weight", "options": [ { "value": "400", "label": "Normal" }, { "value": "300", "label": "Light" }, { "value": "700", "label": "Bold" } ] }, { "type": "color", "id": "subheading_color", "label": "Subheading", "default": "#000" }, { "type": "color", "id": "background_color", "label": "Background", "default": "#f7f7f7" }, { "type": "paragraph", "content": "Any customers who sign up will have an account created for them in Shopify. [View customers](/admin/customers?query=&accepts_marketing=1)" } ], "presets": [{ "name": "Newsletter", "category": "Promotional" }] } {% endschema %}