Questions tagged [sales-order-item]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
14 views

Add custom attributes with product quotation and save in product orders

Add custom attributes (i.e hire start date & hire end date in below picture) with product quotation and save in product orders items details. I want these attributes should be visible on checkout ...
0
votes
2answers
35 views

Magento 2.2.10 is it possible to get all the orders status is pending?

I want to get all the orders where the status is pending. I want to do a second check where if the item status is cancelled. Is this possible to do?
0
votes
1answer
108 views

custom “sales_order_item” attribute to API response

I followed this guide to add a custom product attribute to quote and sales order item throughout the order process and this works fine. My custom attribute is added to the sales_order_item table ...
0
votes
0answers
30 views

Get custom attribute from product in ToOrderItem convert method

I'm implementing a plugin for Magento\Quote\Model\Quote\Item\ToOrderItem public function aroundConvert(\Magento\Quote\Model\Quote\Item\ToOrderItem $subject, \Closure $proceed, \...
2
votes
2answers
46 views

Magento2 How to get customer group from sales order item collection

I want to get customer group from sales order item collection. How do i get that? In Magento 1 it is like this $customer_group = Mage::getModel('customer/group')->load($order->...
2
votes
1answer
493 views

How to update sales_order_item in Magento 2.3 using order_id(entity_id)?

In Magento 2, we can update an order data (a data in sales_order) using Magento Sales OrderRepository . My questions is: How we can update the sales_order_item data (the qty_invoiced and ...