Get item total with get_item_meta
-
Hi,
Is it possible to get item total with get item meta function?
I searched for an example for this but couldn’t find it. I am trying to get the following data. But I have to use item id for this.
I can get the data I want as below.foreach ($order->get_items() as $item_id => $item ): $order->get_item_total( $item); endforeach;
- The topic ‘Get item total with get_item_meta’ is closed to new replies.