I am new to Magento 2 and
I want to get all data from sales_order_item table in Magento 2.
How to get that can anyone answer?
magento2sales-order
I am new to Magento 2 and
I want to get all data from sales_order_item table in Magento 2.
How to get that can anyone answer?
Best Answer
Try this,
DI Method :
Inject sales order item class in your constructor
then in your function add the below code to get values from it
For more information Follow this answer
Hope this helps.