icaroamb Posted February 11, 2021 Share Posted February 11, 2021 (edited) Alguem aqui sabe como fazer para que os detalhes do pedido sejam abertos em nova pagina, no lugar de ajax logo abaixo do historico? Olhando aqui essa pagina até ja existe. Prestashop 1.6 Edited February 11, 2021 by icaroamb (see edit history) Link to comment Share on other sites More sharing options...
icaroamb Posted February 11, 2021 Author Share Posted February 11, 2021 (edited) 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 February 11, 2021 by icaroamb (see edit history) 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