Jump to content

[Solved] How to remove "reorder" button from theme file when customer view order history


Recommended Posts

Hello, Is there any way to remove the reorder button when customer view at Order History webpage ? Preferably to remove from default Prestashop theme file. I search through the web and forum but could not find information related to this. If you know how this could be done please share with me.

Link to comment
Share on other sites

Hello, Is there any way to remove the reorder button when customer view at Order History webpage ? Preferably to remove from default Prestashop theme file. I search through the web and forum but could not find information related to this. If you know how this could be done please share with me.

This is for 1.4.3, the line number may be different for other versions.
Make a copy, then change /themes/prestashop/history.tpl to remove lines 75-77 inclusive.
73    
74        {l s='details'}
75        getPageLink('order-opc.php', true)}{else}{$link->getPageLink('order.php', true)}{/if}?submitReorder&id;_order={$order.id_order|intval}" title="{l s='Reorder'}">
76            
77        
78    

Link to comment
Share on other sites

  • 7 months later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...