Page 1 of 1

Orders module: Get custom field value from Products module?

Posted: Sun Jul 19, 2015 10:31 pm
by 10010110
Is there any way to get product custom field values in the order confirmation template? (Orders module)
In Cart2 there is the $cartitem array that holds the custom field value(s) from the Products module but I don’t see anything in Orders?

Re: Orders module: Get custom field value from Products modu

Posted: Tue Jul 21, 2015 12:53 pm
by JohnnyB
There should be a {foreach} loop in the templates that you can use to access that data. It might be $item->fields or something similar (I haven't looked).
Then you can do a {$item|print_r} statement in your template to see all available fields that can be put into the template.