Have you tried the alternate methods to get the qty ordered? $item->getData(' qty_ordered');. or $item['qty_ordered'];.
Having an online Magento store, the several time you went through the requirement of knowing cart quantity of multiple orders. Instead of ...
Use this code to get items from quantity according to order id. $objectManager = \ Magento\Framework\App\ObjectManager::getInstance(); ...
Try below code, loadByIncrementId($this->getOrderId());//increment_id,like 100000004 $ ordered_items ...
... Qty' => $item->getQtyOrdered(), ); } } return $orders; }. I need to combine these two in a single array with order and order item displayed in the ...
Surprisingly, I've found the solution! Here is the code to get product quantity in admin panel sales order item in name.phtml file:
Bundle Products. Bundle product quote items are represented by one item for the bundle product and separate simple product items for each option. The simple ...
Btw i can't get the ordered quantity in invoice pdf! 333.JPG. app/code/core/Mage/ Sales/Model/Order/Pdf/Items ...
qty_ordered, Quantity of units included in the cart for the particular order item at the time of sale
the same issue. Would be good to get an answer from Magento. 0 Kudos.