Questions tagged [sales-order-item]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
2answers
126 views

Magento 2 how add extension attribute to order item

I need to save the extension attribute for Order item. I have tried using plugin with below code, but it is not working for me. I have placed a log inside the method but the method is not working. <...
1
vote
0answers
16 views

To Show catalog price rule id applied on products in order API response

I have created a custom field named catalog_price_rule_id in sales_order_item. Now i need to get the catalog price rule applied on that orderitem; then i need to store that into the custom field and ...
1
vote
0answers
23 views

how to add a value to new column created by my module in the table 'sales_order_item'

How I can add a value to new column created by my module in the table 'sales_order_item'? I have a problem, could you help me ? I explain : In the Magento table, 'eav attribute set', the 'attribute ...
0
votes
1answer
70 views

how to find my new product's attribute into the MySql's table “sales_order_item” (magento2.5)

I have created a 'New Attribute' into the Product Attributes [/admin/catalog/product_attribute/] for products : [specificity_trait_type]. And then, I added this attribute into the my products [/admin/...
0
votes
0answers
15 views

Can anyone help me getting the sales order detail using massaction in magento 1.9

I am try to get the data such a order_id, billing name, purchased data and other to just print or to store it in the custom made database all by just using the mass action from the sales order grid.I ...
0
votes
0answers
18 views

Is possible to Invoice, Ship, Cancel sales_order_item in other words Sub-Orders via REST or GraphQL APIs?

Wanted to know whether to was possible to update/change the sub-order wise status of sales_order_item via Restful or GraphQL APIs ? I could not find this in the swagger link posted here: https://...
1
vote
2answers
37 views

Can't copy data from quote_item to sales_order_item

I have a custom value (In a Magento 2.3.3 installation )that gets added to the quote_item table when I add an item to the basket. When I go to checkout I want to pass that value to the same-named ...
0
votes
2answers
870 views

Magento 2 Get Value of Custom Attribute on Magento 2 Rest API V1/orders/items

I am trying to get the Custom Attribute I have in the sales_order_item to display on the rest/V1/orders/items API call. I was able to get the Attribute to display on the rest/V1/orders API call. Using ...
0
votes
1answer
21 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
63 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
2answers
497 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
38 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
107 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
1k 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 ...