Jump to content

Edit History

icaroamb

icaroamb

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.

icaroamb

icaroamb

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.

×
×
  • Create New...