Shopify themes, liquid, logos, and UX
Hi, I'm looking to add a checkbox to my Shopify account sign up page where people can choose (or not choose) to receive marketing communications. Is this possible?
I'm on Woodstock theme. URL: https://leadingsolutions.net.au/
Similar to this...
customize your theme. Swich to edit code model, find the "section/main-register.liquid"
find the code
{%- if form.errors contains 'email' -%}
<span id="RegisterForm-email-error" class="form__message">
<span class="svg-wrapper">
{{- 'icon-error.svg' | inline_asset_content -}}
</span>
{{ form.errors.translated_fields.email | capitalize }}
{{ form.errors.messages.email }}.
</span>
{%- endif -%}
add this code below
<input type="checkbox" checked>Emails me with news and offers
Ok thanks that worked, but how do you make it so it actually signs them up to emails and marks their profile as 'subscribed' ? Thanks,
Hey Community! As the holiday season unfolds, we want to extend heartfelt thanks to a...
By JasonH Dec 6, 2024Dropshipping, a high-growth, $226 billion-dollar industry, remains a highly dynamic bus...
By JasonH Nov 27, 2024Hey Community! It’s time to share some appreciation and celebrate what we have accomplis...
By JasonH Nov 14, 2024