Hi,
I don't use the core prestashop onepage checkout and have therefore changed all getpagelink except the one in the history.tpl which I can't get to work.
My change for all other tpl's is like this:
<a href="{$link->getPageLink($order_process, true)|escape:'html':'UTF-8'}"
changed to
<a href="{$link->getModuleLink('My checkout module', 'My checkout module controller')|escape:'html':'UTF-8'}"
This works fine, however, for the reorder link in "my account" history I have to change this code:
{if isset($opc) && $opc}
<a class="link-button" href="{$link->getPageLink('order-opc', true, NULL, "submitReorder&id_order={$order.id_order|intval}")|escape:'html':'UTF-8'}" title="{l s='Reorder'}">
and now I can't get the created url to work.
How should the right syntax be for the above code if I change to getModuleLink?
Anyone who can help me?
Thanks,
Peter