Prestashop 1.6.1.4 Hi! I have a problem that I can't solve at all for 3 days. I created an invoice template that works for me (in Romania), except that I can not bring the state in this Invoice. I have everything I need there but I tried a lot of combinations for state variable: $address->state, $addresses.invoice->state and others an it brings to me a blank space. Please help me!!! This is the part of the code I use for customer data (city, state, country) and, as I told you, every variable is putted correctly on the invoice, except the one in red, what should be the state of the customer from address. {$addresses.invoice->city},State: {$addresses.invoice->state},{$addresses.invoice->country},<br> ---------------------------------------------------------------------------------------------------------------------------- [sOLVED]
The solution was given by tuk66 and is:
{State::getNameById({$addresses.invoice->id_state})}