Jump to content

Product location empty in order details


Mantlet

Recommended Posts

Hi All,

 

Recently I've entered product locations with every product. I would like to add this information on the order detail page in the backoffice to know where the products for that order are located within my warehouse.

 

I'm looking at the file prestashop\admin\themes\default\template\controllers\orders\_product_line.tpl.

To see the available values in the array I've looked at {$product|print_r}. This shows that there is a location value available. Unfortunately this value is always empty, even though the product has a valid location in the shown warehouse.

 

How can I go about to add this information on the order detail page? If this involves adding this value to the product array through PHP, I hope for some detailed info. I've just learned some Smarty, but PHP is still a bit out of my league.

 

Thanks very much in advance.

Link to comment
Share on other sites

  • 2 years later...
  • 5 months later...

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