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?

Était-ce utile?

La 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.

Licencié sous: CC-BY-SA avec attribution
Non affilié à magento.stackexchange
scroll top