Quote:
Originally Posted by kube
Hi Balinor,
I might have got this totally wrong so I do apologise.
For 4.1.9 it appears it is there under the orders_data array which contains $order and $products, for instance...
{$products.0.extra_fields.0.value}
Sends out okay in email. I don't think I've modified it anywhere?
func_order_data($orderid) is the function called and it appears in func.order.php
Hope this helps.
|
Kube, Balinor, Diode, It's a great lead for me. Thanks.
When you say
{$products.0.extra_fields.0.value} Sends out okay in email.
Would this equate to putting {$products.0.extra_fields.0.value} in the product loop in (4.1.9) mail/order_data.tpl ?
To test, I currently have
{section name=prod_num loop=$products}
{$products.0.extra_fields.0.value}
{$products.0.extra_fields.1.value}
{$products.1.extra_fields.0.value}
{$product.extra_fields.0.value}
{$product.extra_fields.1.value}
{$product.extra_fields.2.value}
... etc
In mail/order_data.tpl. Though the extra fields are set and appear in other pages, this section in the order notification email is blank.
Can you share how you got {$products.0.extra_fields.0.value} OR {$product.extra_fields.0.value} to show up in an email?
Many thanks,
-Michael