Remove footer and header on onestep checkout (local.xml)

Posted by Labels: at

Its always a good idea to keep your checkout page clean, so I thought I should share this new trend with you. The onepage or onestep checkout page usually do not have a footer or a header of the main store, add these updates to your checkout page, by simply pasting the code below on your local.xml file.

If you use the onestep checkout >>


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


If you are using the onepage checkout >>


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


And that's it, Happy coding. Do not forget to leave your comments below, if you have any questions or if this article was helpful to you.
Post a Comment

Back to Top