1

I'm trying to add a second link to the order process outside of the blockcart module, but when I use

{$link->getPageLink("$order_process", true)|escape:'html'}

to generate the URL, it gives the following invalid URL: http://petiteannee.ch/en/index.php?controller= When it should give: http://petiteannee.ch/en/order

It works fine in the blockcart module.

Any ideas?

Many thanks

user1280853
  • 1,079
  • 5
  • 14
  • 23

1 Answers1

1

May be because the variable $order_process is not defined. Try with:

{$link->getPageLink('order', true)|escape:'html'}
PrestaShopDeveloper
  • 3,110
  • 3
  • 21
  • 30