SEO, AdWords, affiliates, advertising, and promotions
We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more
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 %}