Hi,
As explained in my previous message ; because your custom field is "numero_pettorale_1", the right one is
{LINEVAR:product.numero_pettorale_1}
BUT !
The product which have the value of the custom field is the main product ; and in your cart you have a variant.
Which means that "product.numero_pettorale_1" will display the value from the variant product and not the main product.
That is why you do not see any content.
So you should modify the "preload" part of the email in order to add the support of the main product.
$product = @$productClass->all_products[$item->product_id];
$parentproduct = @$productClass->all_products[$product ->product_parent_id];
$cartProduct = array(
'PRODUCT_CODE' => $item->order_product_code,
'PRODUCT_QUANTITY' => $item->order_product_quantity,
'PRODUCT_IMG' => '',
'item' => $item,
'product' => $product,
'parentproduct' => $parentproduct ,
);
And then you should be able to use
{LINEVAR:parentproduct.numero_pettorale_1}
to read the value from the parent product and not from the variant product.
Regards,