cancel
Showing results for 
Search instead for 
Did you mean: 

How to show newsletter popup on all pages?

How to show newsletter popup on all pages?

Hello,

I am working on version 1.8.1.0 and I have googled to show newsletter popup on all pages where ever its designed to show only on home page but I can't get any correct codes to work on magento 1.x.

Here one I have got it and is for magento 2.x:

go to your module file add this code in your default.xml you file path will be Vendor/Modulename/view/frontend/layout/default.xml

<referenceContainer name="after.body.start">
            <block class="Magento\Framework\View\Element\Template" name="afterbody"  template="Vendor_Modulename::youfile.phtml"/>
</referenceContainer>

But since I am using magento 1.x so I don't know about the code plus the required file where that code needs to be inserted as well as the path of the required file.

I need help to make newsletter popup shows on all pages in magento 1.x

Thanks