Jump to content

Bad order URLs in BO of

Recommended Posts


After the release of the extreme version, something was crushed in one my module, in particular, the correct links to orders in the admin panel were no longer generated right.
The code contained this:

<a href="{$link->getAdminLink('AdminOrders', true)}&id_order={$row.id_order}&vieworder">{l s='Order #' mod='refpro'}{$row.id_order}</a>

THis worked at PS 1.5.x- and generated link like


But in the PS this now generated like:


which not worked. As i understand {$link->getAdminLink('AdminOrders', true)} not works in this version? What should I change it to?

I would be grateful for a hint!



Share this post

Link to post
Share on other sites
  • 4 weeks later...
1 hour ago, MihaelaS said:

Did you find an answer or can someone suggest a solution regarding this problem?

I changed {$link->getAdminLink('AdminOrders', true)}
{$link->getAdminLink('AdminOrders', true, [], ['id_customer' => $id_customer, 'viewcustomer' => 1])}

and this is work! ))

Share this post

Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More