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 %}
2m ago Learn the essential skills to navigate the Shopify admin with confidence. T...
By Shopify Feb 12, 2025Learn how to expand your operations internationally with Shopify Academy’s learning path...
By Shopify Feb 4, 2025Hey Community, happy February! Looking back to January, we kicked off the year with 8....
By JasonH Feb 3, 2025