Gfinfo web Posted October 9 Share Posted October 9 So My client has a little bit of a clumsy fingers. I am trying to remove the "remove voucher" button on orders: I technacly I found the tpl in: admin>themes>default>template>controllers>orders>helpers>view>view.tpl I just need to comment a piece of the code. But no matter what i do it has no effect. I can break teh page if i comment certain logics in the file. But nothing else seems to have an effect. I just need to comment this code and make it stick: <a href="{$current_index}&submitDeleteVoucher&id_order_cart_rule={$discount['id_order_cart_rule']}&id_order={$order->id}&token={$smarty.get.token|escape:'html':'UTF-8'}"> <i class="icon-minus-sign"></i> {l s='Delete voucher'} </a> I have disabled the cache, and forced to recompile. Anyone have an idea how to fix it? Thank you for your time. Link to comment Share on other sites More sharing options...
Prestashop Addict Posted October 10 Share Posted October 10 Just add a html comment <!-- <a href="{$current_index}&submitDeleteVoucher&id_order_cart_rule={$discount['id_order_cart_rule']}&id_order={$order->id}&token={$smarty.get.token|escape:'html':'UTF-8'}"> <i class="icon-minus-sign"></i> {l s='Delete voucher'} </a> --> Link to comment Share on other sites More sharing options...
Gfinfo web Posted October 10 Author Share Posted October 10 Thank you for your time. I found there was a module overriding the tpl in another place, so changing this indeed did nothing to the back office. 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