0

trying to remove the header at the final checkout page using iwd one page checkout extension. In iwd_opc.xml I added

<remove name="footer"/>

below

<opc_index_index translate="label">

<label>Onepage Checkout</label>

But when I do the same with <remove name="header"/> all the the page goes blank.

How can I remove the header, or at least the menu? Thank you!

3
  • <default><remove name="footer"/></defaut> try this
    – Amit Bera
    Commented Jan 16, 2015 at 13:07
  • 1
    header or footer you need to remove ? Commented Jan 16, 2015 at 13:12
  • Sorry mixed up the text. I am able to remove the footer with my code. But same code for the header does not work. Then everything goes blank
    – user20404
    Commented Jan 16, 2015 at 13:29

1 Answer 1

2

in your themes local.xml please use

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

for header try to remove following

<opc_index_index>
    <reference name="header">
        <remove name="top.search" />
        <remove name="top.links" />
        <remove name="top.menu" />
    </reference>
</opc_index_index>
4
  • Sorry mixed up the text. I am able to remove the footer with my code. But same code for the header does not work. Then everything goes blank.
    – user20404
    Commented Jan 16, 2015 at 13:29
  • 1
    for removing footer use my code Commented Jan 16, 2015 at 13:29
  • footer works fine. Problem is with the header :(
    – user20404
    Commented Jan 16, 2015 at 14:02
  • check my updated answer Commented Jan 21, 2015 at 13:23

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.