Have you tried the alternate methods to get the qty ordered? $item->getData(' qty_ordered');. or $item['qty_ordered'];.
Your code should work. Simply use: $item->getQtyOrdered();.
Having an online Magento store, the several time you went through the requirement of knowing cart quantity of multiple orders. Instead of ...
You can directly get the total qty of quote without using foreach by using this method. $quote->getItemsQty();. If you want to check in order ...
Btw i can't get the ordered quantity in invoice pdf! 333.JPG. app/code/core/Mage/ Sales/Model/Order/Pdf/Items ...
In order to make sure that issue has enough information and ready for
Getting the ordered product and quantity in the Order Grid but empty values in the CSV, Magento 2.3. I have created a php file in ...
... places an order, Magento checks whether the quantity requested for
Here is the code to get product quantity in admin panel sales order item in name. phtml file: getSku(); ...
Getting product stock information means you can fetch some of the detailed information such as minimum quantity (min_qty), minimum sale quantity ...