On my website customer account creation page, I have created a checkbox for customers to opt in to receive marketing from the company. However, it is always automatically marked as checked upon new customer creation which is not allowed by my government’s privacy rules. Is there any way for me to change the code so that it is automatically unchecked when a new customer chooses to sign up and the customer can then check the marketing opt in checkbox themselves?
The code I used is as follows:
I want to receive the newsletter. This is required in order to become an official member.
The second issue is at the shipping checkout page where there is another marketing opt in checkbox that I wish to remove. Is there any way that I can remove the checkbox circled in the image below since I already have a marketing opt in field in my account creation page?
Hi @kiralacus123 ! I’ve provided answers to your questions below:
If you want the marketing checkbox field to be unchecked by default, then you will need to remove checked=“checked” from your code. For example:
You can remove the marketing opt-in on the checkout page by editing the checkout settings in the Shopify admin. Under Settings > Checkout > Email marketing you should see an option to disable the feature. Here’s a screenshot showing an example of what I’m referring to:
Thanks! It works great! May I check if you also know how to remove this text “*By signing up you agree to receive emails from us. You can change your preferences any time.” as I don’t wish to have it on the customer account creation page. Also, do you have another code to remove the italics font for the marketing checkbox?
Hi @Kyle_W , I create 2 test accounts, 1 that ticked the marketing opt in check box and the other account that did not tick the opt in action. However, under Shopify’s “Customers” section, it does not show any status for the email subscription and “Subscribed” for both. May I check is it possible to edit the code so that when a customer tickets the checkbox to opt into the marketing, the email subscription status will reflect that the customer wishes to receive marketing? Thank you.
Removing the undesired content and the italic font styling from the store’s registration page would require additional edits to your store’s theme code. I’m afraid I’m not able to help much more regarding custom code, so if you’re looking for some assistance I would suggest hiring a theme developer. You can find some great resources on a site like experts.shopify.com or storetasker.com.
I suspect the reason why you are not seeing an active subscription status for the test customers is due to the fact that the store’s double opt-in settings are currently enabled. With double opt-in enabled, customers are required to confirm their subscription via email before they are set to an active status in Shopify. You can manage the double opt-in settings in the Shopify admin under Settings > Notifications > Email marketing:
Apologies for the delay. Did more testing and created 2 brand new accounts, 1 with the marketing checkbox checked and the other account with it being unchecked. Both accounts does not have the “subscribed” tag for the email marketing.