Get quantity of each item in an order
-
Hello, I just wanted to ask how I can access the quantity of each item in an order. I found the
$order->get_item_count();
but this gives only the total number of items in an order. I need the quantity of EACH item.I also tried
foreach ($items as $key => $product ) { $product['quantity']; }
But no success.
Thank you for your feedback.
Sekra
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Get quantity of each item in an order’ is closed to new replies.