diff --git a/layout/theme.liquid b/layout/theme.liquid index b9b2be1bf..0aeb347e7 100755 --- a/layout/theme.liquid +++ b/layout/theme.liquid @@ -331,21 +331,37 @@ Use the link below to find your MailChimp form action and insert it in your site settings. + If the form action URL is not set in the theme settings, + it will fallback to a customer form so you can still capture the email. + MailChimp newsletter integration and requirement: - http://docs.shopify.com/support/configuration/store-customization/where-do-i-get-my-mailchimp-form-action {% endcomment %}

{{ 'layout.footer.newsletter_title' | t }}

{% if settings.newsletter_form_action != blank %} - {% assign form_action = settings.newsletter_form_action %} +
+ + + + +
{% else %} - {% assign form_action = '#' %} + {% form 'customer' %} + {{ form.errors | default_errors }} + {% if form.posted_successfully? %} +

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

+ {% else %} +
+ + + + + +
+ {% endif %} + {% endform %} {% endif %} -
- - - - -
+ {% endif %}
diff --git a/locales/de.json b/locales/de.json index 3c6af3a94..d2938c39e 100644 --- a/locales/de.json +++ b/locales/de.json @@ -14,7 +14,8 @@ }, "newsletter_form": { "newsletter_email": "email@beispiel.com", - "submit": "Abonnieren" + "submit": "Abonnieren", + "confirmation": "Danke fürs Anmelden" }, "search": { "no_results_html": "Ihre Suche nach \"{{ terms }}\" hat keine Ergebnisse hervorgebracht.", diff --git a/locales/en.default.json b/locales/en.default.json index fe1c23268..7d4691716 100644 --- a/locales/en.default.json +++ b/locales/en.default.json @@ -14,7 +14,8 @@ }, "newsletter_form": { "newsletter_email": "email@example.com", - "submit": "Subscribe" + "submit": "Subscribe", + "confirmation": "Thanks for subscribing" }, "search": { "no_results_html": "Your search for \"{{ terms }}\" did not yield any results.", diff --git a/locales/es.json b/locales/es.json index 9f4352c30..59f2d1b3f 100644 --- a/locales/es.json +++ b/locales/es.json @@ -14,7 +14,8 @@ }, "newsletter_form": { "newsletter_email": "email@ejemplo.com", - "submit": "Suscribir" + "submit": "Suscribir", + "confirmation": "Gracias por suscribirse" }, "search": { "no_results_html": "Su búsqueda de \"{{ terms }}\" no tuvo resultados.", diff --git a/locales/fr.json b/locales/fr.json index fb8fd3b19..27ffb1abd 100644 --- a/locales/fr.json +++ b/locales/fr.json @@ -14,7 +14,8 @@ }, "newsletter_form": { "newsletter_email": "courriel@exemple.com", - "submit": "S'inscrire" + "submit": "S'inscrire", + "confirmation": "Merci de vous être inscrit" }, "search": { "no_results_html": "Votre recherche pour \"{{ terms }}\" n'a pas généré de résultats.", diff --git a/locales/pt-BR.json b/locales/pt-BR.json index 3ae2b5d64..2bb8a253e 100644 --- a/locales/pt-BR.json +++ b/locales/pt-BR.json @@ -14,7 +14,8 @@ }, "newsletter_form": { "newsletter_email": "e-mail@exemplo.com", - "submit": "Inscrever" + "submit": "Inscrever", + "confirmation": "Obrigado por assinar" }, "search": { "no_results_html": "Sua busca por \"{{ terms }}\" não gerou resultados.", diff --git a/locales/pt-PT.json b/locales/pt-PT.json index 0b7e92352..e616a67b5 100644 --- a/locales/pt-PT.json +++ b/locales/pt-PT.json @@ -14,7 +14,8 @@ }, "newsletter_form": { "newsletter_email": "email@exemplo.com", - "submit": "Subscrever" + "submit": "Subscrever", + "confirmation": "Obrigado pela sua subscrição" }, "search": { "no_results_html": "A sua pesquisa por \"{{ terms }}\" não produziu resultados.",