SkyHiRider Posted May 7, 2014 Share Posted May 7, 2014 I would like every order confirmation email to contain an ulr to the order details page, so that my staff can click on it and see the order in Prestashop. How can I implement this? Link to comment Share on other sites More sharing options...
gonebdg - webindoshop.com Posted May 8, 2014 Share Posted May 8, 2014 You can modify mailalerts module and create/add a new email template var which refering into AdminOrders > viewOrder page to view customer detail order.But your staff will always get "Invalid Security Token" when directed to that page because Prestashop AdminToken is encrypted using employee cookie. Link to comment Share on other sites More sharing options...
SkyHiRider Posted May 9, 2014 Author Share Posted May 9, 2014 (edited) You can modify mailalerts module and create/add a new email template var which refering into AdminOrders > viewOrder page to view customer detail order. But your staff will always get "Invalid Security Token" when directed to that page because Prestashop AdminToken is encrypted using employee cookie. So there is no universal url that works for all profiles (if they are logged in)? Why is it implemented this way? Can all the order details from the order page (product type, picture, attributes) be included in a variable and added to the email? Edited May 9, 2014 by SkyHiRider (see edit history) Link to comment Share on other sites More sharing options...
gonebdg - webindoshop.com Posted May 9, 2014 Share Posted May 9, 2014 So there is no universal url that works for all profiles (if they are logged in)? Why is it implemented this way? Can all the order details from the order page (product type, picture, attributes) be included in a variable and added to the email? No Universal URL available for such purpose. Why ? .... The answer is for Security. without security token, the Admin interface will be vulnerable from being hacked or XSS attacks "Can all the order details from the order page (product type, picture, attributes) be included in a variable and added to the email?" Yes it can and has included in order confirmation email (mailalerts module) Only product picture which not included. Link to comment Share on other sites More sharing options...
SkyHiRider Posted May 9, 2014 Author Share Posted May 9, 2014 You said it really well. This person seems like a spammer to me - low number of posts, added zero valuable information to the topic and has a link to a promotional video in his signature. Link to comment Share on other sites More sharing options...
gonebdg - webindoshop.com Posted May 12, 2014 Share Posted May 12, 2014 Yes he is if you really need this, you can create new page on front office to display order details, but this page can only be displayed for employee (your staff).use params id_employee and is_logged taken from back office will be enough 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