Liquid, JavaScript, themes, sales channels
Hello,
I received an email saying that they are still getting newsletters even when they unchecked the Email Marketing checkbox during checkout.
So I tested it myself and found that when you continue with checkout with Email Marketing checkbox checked during checkout at first and then later just before placing order you go back to the Information step and uncheck Email Marketing checkbox and then continue again with the checkout and place the order the Email Marketing for that customer not unsubscribed.
Also placing another order with Email Marketing checkbox unchecked does not unsubscribe the subscribed customer.
Is it something that Shopify missed? Or is there a reason they made it this way?
Will Shopify fix this later?
Hi,
I have found the same issue. Even if the customer unchecks the email marketing at checkout, I still see that customer with the "Subscribed" tag for Email Subscription Status.
Is there any way to fix this?
Thanks!
Hi @Rocio89 ,
It seems that Shopify deliberately doesn't unsubscribe customers like that for a good reason. So I had to customize it myself.
Here's what I did and you can do:
I'm using Shopify plus so it was a bit easier for me writing my codes in checkout.liquid in the theme itself. But you're not using Shopify plus you can try to use Additional scripts under Settings > Checkout in the admin.
Hope it helps.
Thanks.
@ranjit-anesh - We have come across the same issue and will explore your solution. Thank you for posting.
Regarding 'Shopify deliberately doesn't unsubscribe customers like that for a good reason' Would you mind expanding on what is their good reason is? Our Shopify success manager has just said our 2 Million other customers have not complained so it cannot be wrong... Very unhelpful.
Portrait of Stephen positioned next to an image of planet Earth, with the Stephen's World ...
By JasonH Mar 18, 2024Digital marketers and app developers have tracked activity in apps and websites for yea...
By Ollie Mar 13, 2024February was an exciting month with Shopify Editions, informative webinars, and more! F...
By JasonH Mar 7, 2024