cancel
Showing results for 
Search instead for 
Did you mean: 

How to remove 'My Orders' from product page?

How to remove 'My Orders' from product page?

Hi,

 

How do I remove the 'My Orders' block that comes up on the right of the product page prompting you to order a product again?

 

Can I remove this via the admin at all, without going into the code?

 

Cheers,

Max.

3 REPLIES 3

Re: How to remove 'My Orders' from product page?

Hi,

 

Looking at your other posts, it appears you're using the Porto theme? Magento doesn't add those box by default.

 

I've had a look in the Porto settings documentation - it looks comprehensive, but there doesn't seem to be a setting to disable this functionality. As per @iWeb GazJoy's post previously - if you can identify the block you can comment it out of the XML - but you may need to contact the Porto guys directly to get that support,

 

Regards,

 

Aaron

Problem solved? Click Accept as Solution!
www.iweb.co.uk | Magento Small Business Partner

Re: How to remove 'My Orders' from product page?

Hi,

 

Providing the porto theme does not redeclare the block under a different name you can remove it in xml like so;

 

<catalog_product_view>

   <remove name="sale.reorder.sidebar"/>

</catalog_product_view>

 

Unfortunately there is not a global way in the admin area to do this so you will have to edit your local layout xml file to do it.

 

Regards,

Andy

Problem solved? Click Accept as Solution!
www.iwebsolutions.co.uk | Magento Small Business Partner

Re: How to remove 'My Orders' from product page?

!!

 

How did I miss `sale.reorder.sidebar`? Good catch @iweb_smartie

 

For future reference using 'grep' in app/design/frontend can help identify which template block you want to remove.

 

Aaron

Problem solved? Click Accept as Solution!
www.iweb.co.uk | Magento Small Business Partner