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?
Thanks in advance
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.
Thank you
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?
@Patrickdigogmig I have edited the code please have a look.
Hi i added the new code but it is the same
Did i place local.xml in the right folder?