SEO, AdWords, affiliates, advertising, and promotions
Hello,
For some reason @Shopify this not long work when the customer is create. How can I create a customer without not accepts marketing email subscription? I ask this because this line of code doesn't work anymore, and for default accepts marketing when the costumer is create.
Thank you!
{% form 'create_customer' %}
<input type="checkbox" name="customer[accepts_marketing]" checked="false" />
{% endform %}
Solved! Go to the solution
This is an accepted solution.
Solution:
{% form 'create_customer' %}
<input type="hidden" name="customer[accepts_marketing]" value="false" />
<input type="checkbox" name="customer[accepts_marketing]" />
{% endform %}
This is an accepted solution.
Solution:
{% form 'create_customer' %}
<input type="hidden" name="customer[accepts_marketing]" value="false" />
<input type="checkbox" name="customer[accepts_marketing]" />
{% endform %}
Discover how to increase customer engagement on your store with articles from Shopify A...
By Jacqui Apr 23, 2025Hey Community 👋 Did you know that March 15th is National Everything You Think Is W...
By JasonH Apr 1, 2025Discover how to increase the efficiency of commerce operations with Shopify Academy's l...
By Jacqui Mar 26, 2025