MP-zoho Posted January 30, 2023 Share Posted January 30, 2023 Hi all, My trouble is for Prestashop 1.7.8.0 In my module, in the backoffice, I would like to put a link to an order (I have the ID of the order) and I would like to generate a link. I try with getAdminLink('AdminOrders', true, ['id_order' => $_id]) but, I have the page with all orders. Do you know how to generate this link ? Thanks Link to comment Share on other sites More sharing options...
ps8modules Posted February 2, 2023 Share Posted February 2, 2023 Hi, $link = Link::getAdminLink('AdminOrders', true, ['id_order' => $_id, 'vieworder' => '']); 1 Link to comment Share on other sites More sharing options...
MP-zoho Posted February 2, 2023 Author Share Posted February 2, 2023 5 hours ago, ps8moduly.cz said: Hi, $link = Link::getAdminLink('AdminOrders', true, ['id_order' => $_id, 'vieworder' => '']); Hi, This is the right answer. Thanks 1 Link to comment Share on other sites More sharing options...
ps8modules Posted February 2, 2023 Share Posted February 2, 2023 I gladly helped 😉 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