Jump to content

Invoice product name lang


Recommended Posts

Im looking into invoice.tpl file and - {$order_detail.product_name} here I got product name. Its allright that customer can see product name in his language, but after all I need to get PDF in my local lang. So it is possible to download invoice from BO by employee language?


I found only this in classes/HTMLtemplateInvoice.php 


$id_lang = Context::getContext()->language->id;
So what should I edit? Classes/order/ordetDetail.php or classes/pdf/ .... ?
Link to comment
Share on other sites

Of course, the product name is stored in the product_name field in the ps_order_detail table. Only one language is used. It is like time marker.


You can print the actual product name in any language but you cannot print this name as it was in the time of purchase.

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