Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
I wanted to add an option on a contact form `{% form 'contact' %}` to allow users to sign up to my newsletter (add as a customer with the 'accepts_marketing' option checked). I know you can do this with the customer form `{% form 'customer' %}` but that isn't a contact form.
Is it possible to add a customer with the 'accepts_marketing' option on a contact form?
I don't think it's possible from the contact form, but you could maybe put both forms together on the page and use some javascript to control submitting both forms at the same time.
Gina, have you seen any success in combining both forms? Or is there even a new solution to this problem?
Has there been any update on this?
Is there any update on this question? I would like to do the same
June brought summer energy to our community. Members jumped in with solutions, clicked ...
By JasonH Jun 5, 2025Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025