pesu Posted December 19, 2017 Share Posted December 19, 2017 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 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