Shopify themes, liquid, logos, and UX
Hi,
We are using a paid theme that doesn't have "add section" for Shopify's default newsletter sign-up form.
How to replace Mailchimp with Shopify default newsletter sign-up form?
Which code do we need to replace?
Best regard,
Jimmy
This is what we want to replace with shopify default newsletter sign-up form.
Solved! Go to the solution
This is an accepted solution.
Hi @ozgaga
It looks like your newsletter section should have a configurable form action. I can see settings.newsletter_form_action in the Liquid code, however, I don't see newsletter_form_action in the settings schema.
If you add the following code snippet:
{
"type": "text",
"id": "newsletter_form_action",
"label": "Form action URL",
"default": "#"
},
just below {% schema %}, then you will be able to set the form URL in the section settings (like you already can do with the background color or title). You can then set the form action to a URL which you can extract from Mailchimp from an embedded form code (Manage audience > Signup forms > Embedded forms).
Hope this helps,
Lukasz
This is an accepted solution.
Hi @ozgaga
It looks like your newsletter section should have a configurable form action. I can see settings.newsletter_form_action in the Liquid code, however, I don't see newsletter_form_action in the settings schema.
If you add the following code snippet:
{
"type": "text",
"id": "newsletter_form_action",
"label": "Form action URL",
"default": "#"
},
just below {% schema %}, then you will be able to set the form URL in the section settings (like you already can do with the background color or title). You can then set the form action to a URL which you can extract from Mailchimp from an embedded form code (Manage audience > Signup forms > Embedded forms).
Hope this helps,
Lukasz
Thank you Lukasz!
Hi,
Good day.
I have a challenge almost similar to the one in this conversation, but it is to replace mailchimp with Klaviyo. I am using Turbo 4.1.2 theme and in the newsletter section, there is only one box (field) for mailchimp. With other themes, I have seen two fields, 1 for Klaviyo and the other for mailchimp.
How can I add the section for Klaviyo and then replace the signups from Mailchimp with Klaviyo?
I will be grateful for some advice on how to do it.
Thanks in advance for your support.
Best regards,
Yai
Hi @Yain,
I'd need to have a look at the theme code. Can you share your website address? I'll then send you a request from my Shopify Partner dashboard to access the Themes area in your store.
Thanks,
Lukasz
Hi Lukasz,
Thank you so much for your support.
Thanks in advance,
Yai
Thanks @Yain. I just sent you an access request.
Hi @Yain,
Thank you for granting me access. I just checked the newsletter section in your theme. I can see that if don't specify the form action, then the sign up form will add subscribers to your customers list in Shopify. And if you have Klaviyo installed in your store, then the app will automatically sync your customers from Shopify to Klaviyo. In other words, you don't need to set any form action. It should already work as it is. I've just signed up on your website. Can you see my email address in Klaviyo?
Thanks,
Lukasz
Hi Lukasz,
I just can't figure out how to replace the mailchimp code.
right now, the sign up box leads to a broken link.
can you help?
Neil at Reading Glass World
Hi @LukaszWiktor ,
got the same issue. If I don't put anything in the form field action of Mailchimp and I submit an email address, I get a blank page.
Maybe you could help me please?
I can DM you my website address so you can have a look.
Thanks for your time.
Karolin
Dropshipping, 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, 2024In today’s interview, we sat down with @BSS-Commerce to discuss practical strategies f...
By JasonH Nov 13, 2024