nancy99 Posted June 30, 2011 Share Posted June 30, 2011 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 More sharing options...
phrasespot Posted July 2, 2011 Share Posted July 2, 2011 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 More sharing options...
nancy99 Posted July 4, 2011 Author Share Posted July 4, 2011 Thank you !I comment out the following code and it works !history.tpl<!--getPageLink('order-opc.php', true)}{else}{$link->getPageLink('order.php', true)}{/if}?submitReorder&id;_order={$order.id_order|intval}" title="{l s='Reorder'}">--> Link to comment Share on other sites More sharing options...
logicallimit Posted February 24, 2012 Share Posted February 24, 2012 You will also need to comment a line of code at "yourtheme/order-detail.tpl" in 1.4.6.* or els it will show up if you click on details page. <!-- <input type="submit" value="{l s='Reorder'}" name="submitReorder" class="button exclusive" style="float:right"/> --> 2 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now