Create completely empty page in Magento 1.9.2.4
-
05-10-2020 - |
Question
I am trying to create a completely blank page in Magento, but when I use the "empty" layout, it still has the head, imports, css, etc.
I know that I can update the page layout XML in CMS > Pages
but I am not sure how that works.
Could anyone please help me with that? What is the easiest way to create a completely blank page in Magento?
Solution
You can create an empty layout and then select it from the dropdown when you create a page. There are multiple answers on how to do this, check this and this.
Basically you are creating a module to create a new layout and make it appear on the layout drowdown, you can use one of the existing ones as a template or create the one you need from scratch.
Licensed under: CC-BY-SA with attribution
Not affiliated with magento.stackexchange