1
Answers
My entity_load line item does not include product attributes
Hey all,
when i use this loop to show all the line items in my order:
foreach ($order->commerce_line_items[LANGUAGE_NONE] as $key => $line_id) {
// Load line item and add product id to array
$line_items = entity_load('commerce_line_item', $line_id);
}
this will not show the by the user selected product attribute. Like i have an attribute color "Green".
Does anybody know how i can retrieve these attributes (in code)?