Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Customer registration] Add marketing consent checkbox(s) to form #1630

Open
bacounts opened this issue Apr 18, 2022 · 3 comments
Open

[Customer registration] Add marketing consent checkbox(s) to form #1630

bacounts opened this issue Apr 18, 2022 · 3 comments

Comments

@bacounts
Copy link

bacounts commented Apr 18, 2022

Describe the enhancement you'd like
Currently, the customer registration form does not allow for email or SMS marketing consent signup.

Describe alternatives you've considered
At a minimum, Shopify's default email marketing consent signup checkbox should be added to the customer registration form. The checkbox is a default engagement feature mentioned in the dev support documentation: https://shopify.dev/themes/customer-engagement/email-consent#customer-registration-form-checkbox.

PS: #1627 (add phone number field) could also be worth looking into; this enhancement would allow Shopify's default SMS marketing consent.

PSS: While out of scope for this enhancement, you could also re-use these checkboxes on the cart page and cart drawer and have a section in the customer account under the heading "notifications" to allow for updating consent after an account's creation.

CC: @melissaperreault, @nicklepine

@wisniewski94
Copy link

wisniewski94 commented Aug 1, 2022

Any updates? I can work on this and make this field optional (to be enabled in the theme customizer).
Assign to me if it's not rejected

@afagard
Copy link

afagard commented Mar 27, 2023

I'm confused, Shopify's official docs state to use the accepts_marketing field in signup forms (https://shopify.dev/docs/themes/customer-engagement/email-consent) but for the API it seems to be depreciated https://shopify.dev/docs/api/admin-rest/2023-01/resources/customer ...

Should we be doing fields such as:

  <div class="accepts-marketing">
    <input type="hidden" name="customer[email_marketing_consent]" value="false" />

    <input type="checkbox" name="customer[email_marketing_consent]" />
    <label for="accepts-marketing">Subscribe to email marketing</label>
  </div>

Or will that not even work?

@cinghaman
Copy link

Any update on this??

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants