Jump to content

Delete button in Orders list


Esnyper

Recommended Posts

I want to add delete button in Orders list. I'am using Prestashop 1.5.3.1.

 

First of all I added line (like in 1.4) in template file.

 

/*admin_folder*/themes/default/template/controllers/orders/helpers/view/view.tpl 243 line:

<td>
	  <a href="{$current_index}&vieworder&id_order={$brother_order->id}&token={$smarty.get.token|escape:'htmlall':'UTF-8'}"><img alt="{l s='See the order'}" src="../img/admin/details.gif"></a>
	  {* Added line *}
	  <a href="{$current_index}&deleteorder&id_order={$brother_order->id}&token={$smarty.get.token|escape:'htmlall':'UTF-8'}"><img alt="{l s='delete'}" src="../img/admin/delete.gif"></a>
	  {* /Added line *}
	 </td>

 

But nothing changes in back office. I tried to delete cache, recompile template files, but still no button... What I am doing wrong?

Link to comment
Share on other sites

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...