Please help me. I don't know why it has 2 "Compare Products" and "My Orders" inside user dashboard. Can you help me to figure it out what template should I check?
I'm using Magento Enterprise 1.14 and RWD Theme
Thank you in advanced
Magento Stack Exchange is a question and answer site for users of the Magento e-Commerce platform. It only takes a minute to sign up.
Sign up to join this communityPlease help me. I don't know why it has 2 "Compare Products" and "My Orders" inside user dashboard. Can you help me to figure it out what template should I check?
I'm using Magento Enterprise 1.14 and RWD Theme
Thank you in advanced
Thanks for your answer guys but I already figure it out of myself. Although Amit gave me a bit hint for that.
it's under 2 xml files.
For the Compare Products, its under
customer.xml
Find this code. Under it has a block. Just find it, and comment it OUT!
<customer_account translate="label">
<block type="catalog/product_compare_sidebar" name="catalog.compare.sidebar" template="catalog/product/compare/sidebar.phtml"/>
</customer_account>
For the My Order, it's under
sales.xml
I just comment this code
<customer_account>
<reference name="customer_account_navigation">
<action method="addLink" translate="label" module="sales"><name>orders</name><path>sales/order/history/</path><label>My Orders</label></action>
</reference>
<reference name="left">
<block type="sales/reorder_sidebar" name="sale.reorder.sidebar" as="reorder" template="sales/reorder/sidebar.phtml"/>
</reference>
</customer_account>
and that's it! NO MORE DUPLICATING SECTIONS.
Hope this will be helpful on the future. :)
local.xml if exits at(app/design/frontend/rwd/defult/layout/) add below code
<customer_account translate="label">
<reference name="left">
<remove name="tags_popular"/>
<remove name="sale.reorder.sidebar"/>
<remove name="catalog.compare.sidebar"/>
</reference>
if local.xml then full code at(app/design/frontend/rwd/defult/layout/) add below code
<?xml version="1.0" encoding="utf-8"?>
<layout version="0.1.0">
<customer_account translate="label">
<reference name="left">
<remove name="tags_popular"/>
<remove name="sale.reorder.sidebar"/>
<remove name="catalog.compare.sidebar"/>
</reference>
</customer_account>
</layout>