Hi all,
So, I want to display some features on invoices. I found some other threads with examples on how to do so. But, when I tried it, I am always getting an empty array.
Here is my code:
{assign var="features" value=Product::getFrontFeaturesStatic($conf.pdf_id_lang, $order_detail.product_id)}
{$features|@debug_print_var}
All I get is "Array (0)"
So, I noticed "$conf.pdf_id_lang" is no set. It returns NULL.
If I manually enter 1 or 2 it works.
Any idea in which variable I can get the language of the invoice?
Thanks!
Prestashop 1.7.7.2