Jump to content

Link to order backoffice page in confirmation email


SkyHiRider

Recommended Posts

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 by SkyHiRider (see edit history)
Link to comment
Share on other sites

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

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...