cancel
Showing results for 
Search instead for 
Did you mean: 

How to remove content from sidebar in checkout page

How to remove content from sidebar in checkout page

Hi everyone,

 

I want to remove all this content shown in the image from the sidebar in the checkout page but still keep it on other pages.

 

How do i do this?

www.digogmigskagen.dk

 

Thanks in advance

4 REPLIES 4

Re: How to remove content from sidebar in checkout page

 

Goto your local.xml magento root directory app\design\frontend\my_pakage\my_theme\layout\local.xml

If local.xml file is not created then please create the file with the same name.

 

Edit that file and add the below provided code 

 

<layout version="0.1.0">
        
        <checkout_onepage_index translate="label">
        
                        <remove name="left.newsletter"/>
                        <!-- <remove name="left.your_block_name"> -->
</checkout_onepage_index> </layout>

 

Here, I have explained e.g with "Newsletter" part only, you can add other blocks into <customer_account_login> same as <remove> tag [ See the code I have added as a comment].

 

Hope this helps you.

Query solved? Accept as Solution.Thanks
Eric Baily

Re: How to remove content from sidebar in checkout page

Thank you Smiley Happy

 

I have created the file local.xml but the newsletter subscription box is still in the left sidebar. Hmm what couldt be wrong?

 

This is the path i have created the local.xml file in

public_html>app>design>frontend>default>mytheme>layout>local.xml

 

Hope you still can help? Smiley Happy

Re: How to remove content from sidebar in checkout page

@Patrickdigogmig I have edited the code please have a look.

Query solved? Accept as Solution.Thanks
Eric Baily

Re: How to remove content from sidebar in checkout page

Hi i added the new code but it is the same Smiley Sad

 

Did i place local.xml in the right folder?