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?

Was it helpful?

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
scroll top