Jump to content

Detalhes do pedido em nova pagina


Recommended Posts

Consegui resolver, muito simples, mas vou deixar aqui para alguem que esteja buscando isso tambem:

Prestashop Versão 1.6.1.24

Arquivo: themes > SEU TEMA > history.tpl 

/* linha 89*/

<a class="btn btn-default button button-small" href="javascript:showOrder(1, {$order.id_order|intval}, '{$link->getPageLink('order-detail', true, NULL, "id_order={$order.id_order|intval}")|escape:'html':'UTF-8'}');">

alterar para:

<a class="btn btn-default button button-small" href="{$link->getPageLink('order-detail', true, NULL, "id_order={$order.id_order|intval}")|escape:'html':'UTF-8'}">

Dessa forma o botão detalhes do pedido, vai abrir o mesmo em uma nova pagina.

Caso alguem encontre algum erro nessa alteração, por favor responda este topico.

Edited by icaroamb (see edit history)
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...