Frontend -> Loop through order items not working
-
Hello,
I really don’t know, but this is working in admin, but when I do this on the frontend, I get no values in the ‘item_meta’.
In the admin when i print this, the ‘item_meta’ is full of meta…
Array
(
[16] => Array
(
[name] => Healthy meal
[type] => line_item
[item_meta] =>
))
CODE:
$order = new WC_Order(13555); echo '<pre>'; print_r($order->get_items());
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Frontend -> Loop through order items not working’ is closed to new replies.