07-27-2023, 12:28 AM
I'm using Prestashop 1.6
In **order-carrier.tpl**, I'm trying to get the **carrier id**, because I would like to use it in the css class of the `<div>`.
For exemple : `div.delivery_option.carrier_id_33`
I tried this :
{$cart->id_carrier}
But it doesn't really work.
In **order-carrier.tpl**, I'm trying to get the **carrier id**, because I would like to use it in the css class of the `<div>`.
For exemple : `div.delivery_option.carrier_id_33`
I tried this :
{$cart->id_carrier}
But it doesn't really work.