Can anyone point me to a tutorial showing how to create a popup that automatically opens on the homepage? I'm on Magento 2.3.1.
Thanks.
Hi @ed_geis
There are some free ready-made extension is available for such kind of popup following i am listing the same :
https://github.com/mageplaza/magento-2-better-popup
https://www.mageplaza.com/magento-2-better-popup/
https://store.magenest.com/magento-2/popup.html
For custom code and custom module tutorial - following i am listing the links :
https://meetanshi.com/blog/create-popup-in-magento-2/
https://zanetabaran.com/how-to-in-magento-2-how-to-add-modal-popup/
Hope it helps !
Thanks a lot for those links, Dave.
I installed the mageplaza extension and created a new popup but couldn't get it to actually display.
Then tried some custom code but had difficulty customizing it the way I wanted.
I'll go back to the extension again and see if I can get that to work. Maybe there's a conflict with another extension?
Thanks again, I'll report back with results.
I'd create a block with the content.
On homepage, add a modal html window with that block/js.
Add css either inline, or in a separate file (added in page layout update xml in backend or as module.less or theme.less file)