I've installed the module to subscribe to the newsletter via ajax. Without using the javascript file I get a new page with the message it's okay.

When I make use of the javascript file, I get the message below the input field that it's okay, but the email address won't be saved in the admin.

Can someone help me with this?

This is the link of the code that is used: https://blog.mdnsolutions.com/magento-2-newsletter-subscription-via-ajax/

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.