Hitu
Hitu

Reputation: 286

Magento Layout Empty, header and footer showing

I am Creating Page CMS Pages and set empty Layout. and under content i added this content

{{block type="catalog/product_view" product_id="797" template="catalog/product/view/bundle_color.phtml"}}

and my bundle_color.phtml containts simple Hello

But it is showing header and footer as well. I dnt want header and footer.

Can any body tell me how to do this

Thanks

Upvotes: 0

Views: 1383

Answers (2)

Anuradha F
Anuradha F

Reputation: 36

Element 'remove': This element is not expected. Expected is one of ( attribute, block, referenceBlock, referenceContainer, container, move, uiComponent )

Upvotes: 0

Manoj Chowrasiya
Manoj Chowrasiya

Reputation: 970

you have to remove header and footer from layout section

just go to cms>you_page>Design

In Layout Update XML just

<remove name="header"/> 
<remove name="footer"/>

Hope this will help you.

Upvotes: 1

Related Questions