I need to disable or hide all elements/blocks related to Newsletter. As of the moment, I knew only 2 places on where these things exist:

  • Footer (subscribe by entering your email address)
  • Create Account Page (sign up for newsletter checkbox)

Thanks in advance!


To hide newsletter in default.xml of your active theme

<?xml version="1.0"?>
<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
        <referenceBlock name="form.subscribe" remove="true"/>

check at : vendor/magento/module-newsletter/view/frontend/layout/default.xml if magento is installed using composer

  • That won't remove the subscribe to newsletter checkbox in the registration screen. – Adrian Lopez Dec 12 '19 at 11:10

I confirmed this with my fellow developer that the ff. sections are the locations of the blocks/elements related to Newsletter:

•Footer (subscribe by entering your email address) •Create Account Page (sign up for newsletter checkbox) •Account Dashboard

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.