Contact Form Opt-In

https://yogaspirit.mu/pages/contact

I have created a custom Contact form.

I have included an opt in checkbox

How can i link it to the actual opt in built in on shopify in order for it to update my customer database accordingly.

Hi @TBS2023

Kindly follow this tutorial which explain how to add custom field in built-in contact form in Shopify

https://www.youtube.com/watch?time_continue=2&v=r6D9r8FgmxA&embeds_widget_referrer=https%3A%2F%2Fcommunity.shopify.com%2F&embeds_referring_euri=https%3A%2F%2Fcdn.embedly.com%2F&embeds_referring_origin=https%3A%2F%2Fcdn.embedly.com&source_ve_path=Mjg2NjIsMjg2NjY

Thank you - i have already added the additional fields

I have added a radio button for Marketing Opt-in

I now want that data do update the customer file when selected

Unfortunately this isn’t possible with the Contact form, only with the Customer or Create_Customer forms. However, with these forms you will not receive a response to your inbox, and there isn’t currently a way to incorporate the functionality of both.

https://shopify.dev/docs/storefronts/themes/customer-engagement/email-consent#newsletter-sign-up-form

Hope this helps

hi @TBS2023 ,
You need to have a custom app installed in your store to add this functionality. The app will listen to any form submission from your online store and make necessary changes to the customer information in your store. Currently, I don’t know if such an app exists. But it can be easily developed and integrated for your store.

ok thanks