I have created a Js component in which i am showing a checkbox of Register for Newsletter.It is showing above shipping form that is correct.

What i want that when i will check this checkbox then it should be saved to the customer for subscribed to newsletter.

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.