Questions tagged [orders]

Mark questions related to Magento orders

Filter by
Sorted by
Tagged with
0
votes
0answers
9 views

Error when trying to add an order via the API

The url for shipping is: V1/guest-carts//payment-information https://store.upc.tax/rest/default/V1/guest-carts/5Shn4DiClYehFeJpq0lzwGy78O4e5I7h/payment-information I try to add a purchase order with ...
0
votes
1answer
27 views

How to get orders based on custom attribute value of product?

I have a Custom attribute name ( product string ) on Product in which i have save a string i want to get those orders which will have that product string of same value. I will get the product by : $...
0
votes
3answers
48 views

Magento 2 how to get order id on admin order invoice save?

How to get order id in invoice using plugin ? di.xml <?xml version="1.0"?> <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation=&...
0
votes
1answer
24 views

How to get custom attribute value of ordered product?

I have a Custom attribute name ( product string ) on Product in which i have save a string i want to get that custom attribute value for ordered product. I have getting the ordered product by this ...
1
vote
0answers
28 views

Magento 2 which plugin can use for after invoice or shipment from admin

I am using this di.xml <?xml version="1.0"?> <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:...
0
votes
1answer
28 views

How to override order api in magento 2

I want to get order detail with customized some information using order API. I want to override API: https://example.com/index.phprest/V1/orders How can I override in Magento 2.3
0
votes
0answers
16 views

Product Qty update after order place Magento 1.9

I am doing it via observer but nothing is working. here is my code snippet: config.xml <checkout_onepage_controller_success_action> <observers> <qtyupdate> ...
1
vote
1answer
15 views

How to change Product price of a Cart? [SOLVED]

I created an order using Rest Api and i want to change the Produt Price from a Cart. I tried this: But didn't work, this line: $quote = $this->quoteFactory->create()->load($resultQuote->...
2
votes
0answers
19 views

Error Creating Order using Rest API

I've been trying to create an Order by Rest API and, then shows up the below error Uncaught Error: Call to a member function setEmailSent() on null in. public function metodoHudson(OutputInterface $...
0
votes
0answers
19 views

How to product add to cart using custom module(Tabs) in magento 2.3.5-p1

How to product add to cart using text-area. I want to create text-area in which customer can add product-sku,qty and clicking on add to cart button then that product will be add to cart. How to add ...
0
votes
0answers
28 views

Magento 2 How to get order id and set custom order attribute after or before order placed

when using these events - 1 - sales_order_place_after 2 - sales_order_save_before 3 - sales_order_place_before Using these events I am able to set custom order attributes but unable to get order ID ...
0
votes
0answers
7 views

Visual editor for custom order attribute

It's possible to add a visual input on user infos form, is it possible to do this to my orders ? I already add the column in filters and I did this to add the field : $salesSetup->addAttribute(...
0
votes
0answers
8 views

Display double quote in order id field in order CSV export Magento 2.3.4

I had generated the Order CSV by own in Sales Order page iam getting the ("Extra Order Id") double quotes in csv for first column. <?php namespace Sm\FileGeneration\Controller\Index; use ...
0
votes
0answers
6 views

Order canceled automatically after payment complete Magento 2.2.11

When a customer ordered in guest mode the payment was made successfully (full) and the status automatically changed to canceled on Magento 2.2.11, I don't know for what reason. He paid by Credit Card ...
0
votes
1answer
21 views

Get data from orders with observers

I am with magento 2.3.4, and I want to capture the information: product order client I would also like to know how I can print the data on the console. I am using the observer when ordering ...
0
votes
0answers
12 views

Magento2 set tax percentage 7.75% to all items while creating an order programatically

We would like to set a tax percentage of 7.75% for all items & all customers while creating an order programmatically. Could you please provide some ideas.
0
votes
1answer
25 views

I need to create a search bar on sales order view page in customer login magento 2.3

I need to search and filter the orders in sales order page customer side as like admin side also need the search box. But i can't find any related documentations or solutions. whether this can do in ...
0
votes
2answers
20 views

Magento 2: Payment methods not showing on admin create order

When creating an order from the admin panel I cannot see payment methods available However, in the fronted, customers can see the available payment methods, which are CHECK / MONEY ORDER and ...
0
votes
1answer
24 views

Magento 2: After migration, I get “No such entity with cartId” on old orders

I migrated from Magento 1 to Magento 2.3 My site has multiple websites and stores. But now when I go to old orders in the admin panel and want to add a note to an order I get the error: No such entity ...
0
votes
1answer
11 views

Magento 2: Unable to unserialize value. Error: Syntax error

I'm creating Order export cron module for Magento 2.3. I'm getting below error Cron-job "monthly_report" threw exception InvalidArgumentException In Json.php line 39 ...
2
votes
1answer
61 views

Magento 2 how to stop decreasing stock qty while placing an order in magento 2 via REST API

how to stop decreasing stock qty while placing an order in Magento 2 via REST API Which plugin or which observer we have to use to stop decreasing stock qty? I am using event "...
2
votes
0answers
16 views

In Magento 2, How to apply Discount code to order

In Magento 2, I am Creating order programmatically using this tutorial. I need to apply Discount code(Cart) to order. I am using this link. But not working. Any other solutions worked out.
2
votes
1answer
90 views

Magento 2 How to Update custom order attribute using REST API

I am using this - extension_attributes.xml <extension_attributes for="Magento\Sales\Api\Data\OrderInterface"> <attribute code="custom_sales_id" type="string&...
1
vote
0answers
19 views

No such entity with orderId =

I am using Webkul's extension for multiple vendors and I want to make an REST API endpoint where a vendor will be able to confirm the payment on a specific order. Everything works well until I try to ...
2
votes
1answer
24 views

Add a comment to an order [API REST]

I want to add a comment to a magento order. When i try to do this with postman it works properly: But when i do this with my php code, the request return an error: //GET TOKEN $url = '***/rest/V1/...
1
vote
0answers
26 views

2.3 how create guest order on backoffice

Is it possible to create a guest order from the admin panel? It always ask for a customer or creates a new one, some customer just want to order without an account and that's possible on store front, ...
1
vote
0answers
13 views

Magento2 get invoice detail based on tax percent group

I want to get invoice detail based on TaxGroup percentage, How can I achieve this. Using sales_order_save_after event observer. InvoiceObject = { 'orderId': 2324234, 'invoiceId': 443322, '...
0
votes
3answers
57 views

Magento 2: How to get customer id

Can any one tell me how can I get the customer id whose order is being created by admin in admin panel, in file /vendor/magento/module-sales/view/adminhtml/templates/order/create/form/account.phtml
0
votes
1answer
32 views

Importing orders from .csv into Magento 2

I've got some orders from M1, exported into a CSV that I need to add to Magento 2. There aren't too many so I don't mind doing it manually. I've found that adding orders through the order section of ...
3
votes
0answers
22 views

Magento 2.2.3 problem with invoiced order, can´t edit order

I have a store with two payment methods. ProxyPay - Generate an order without shipment or invoice with status equal Processing. When Magecomp 1.0.0 detect payment, state of order is passed to ...
1
vote
1answer
40 views

Magento 2 Partial Order shipping

I want to ship partial orders. As user has order some product which is currently not available in stack how can I achieve this ??
0
votes
2answers
49 views

Magento2.3.3 :Get Value of Custom Product Attribute on Magento2 Rest API V1/orders/

I am trying to get the Custom Product Attribute (uom). I want to get the Attribute value to display on the rest/V1/orders API call. m using this https://magento.stackexchange.com/a/303780/68018 app/...
2
votes
0answers
15 views

Get the quote/order ID that the user checked out?

I need to get the actual order id that the customer is using creating an order. Tried with this that works fine, but returns me the previous order id, I need to get the actual one: $...
1
vote
1answer
51 views

Magento 2 API: Extension Attribute with null value not showing

I'm retrieving from the Magento API an order by its increment_id attribute like this: http://mystore.com/rest/V1/orders?searchCriteria[filter_groups][0][filters][0][field]=increment_id&...
0
votes
0answers
4 views

Incomplete order available. In those cases, we fulfill a partial order and need to have that order reflect that

Sometime don't have the complete order available. In those cases, we fulfill a partial order and need to have that order reflect that. How do I handle that use case?
0
votes
1answer
37 views

How to send data to Third party graphql endpoint in magento2

I need to send some order information to monday.com using graphql when order place I want to pass the data to monday.com graphql API how can i send API request using graphql to monday.com UPDATE ...
0
votes
0answers
11 views

How we can archive Magento 2 orders programmatically / CLI?

Can anyone please mention how the Magento EE's order archiving feature works. Does it require the default Magento CRON enabled? And how do we know that orders are archived after we enable the setting? ...
0
votes
0answers
11 views

How to use and save custom order item field/attribute

I have created a custom field (customer_sku) in sales_order_item, sales_invoice_item, sales_shipment_item and quote_item. How can I add this field to the complete order process? Thx, Christian
0
votes
2answers
36 views

How to Hide Field from Order Create From Back-end Magento 2

I have to Hide Some of the Fields from shipping and Billing Adress how I can achieve this need guidance thank you
1
vote
3answers
26 views

Where are invoiced + shipped orders marked as complete?

In some (not all) cases, I want to set the status of an order to a new custom status after it has been shipped. Where in the core code is an order updated to complete once it has been invoiced and ...
0
votes
1answer
16 views

Detect if payment has been placed in sales_order_save_after observer in Magento 2?

I have a custom extension that uses sales_order_save_after basically i want to create an invoice after the customer put a payment data , the problem is the order seems not been created at so i got an ...
0
votes
0answers
27 views

Check if an order has been fully paid

What the best way of checking if an order has been fully paid? I typically would do $order = $this->orderRepository->get($orderId); if ($order->getBaseTotalDue() > 0) { //not fully paid ...
0
votes
1answer
46 views

After successful run of the magento data migration tool from 1.9.2.1 to 2.3.5-p1 orders do not display line items

I was able to get the Data Migration Tool to transfer our site's data and settings from v1.9.2.1 to v2.3.5-p1. There is one small problem that I can't figure out though. When I view orders on the ...
1
vote
1answer
40 views

Magento 2.3.5: How to hide Shipping Method

I want to do this thing if customer orders over $50 then give free shipping method will be shown and if customer orders below $15 flat order will be shown and free shipping will be hide.
0
votes
1answer
25 views

Magento 2 Filter Orders Based On shipping Country

I want to Filter Orders based on Shipping country I have filtered using other attributes like grand_base_total and store_id but struck at shipping country as there is no any attribute for that in ...
0
votes
0answers
34 views

Magento 2 override pricing / apply custom price on api order

When building an order in the Magento 2.3 admin you can apply custom pricing to line items, is there a way to do this when building an order via the standard Magento 2 API's? If not via the standard ...
0
votes
0answers
16 views

Creating a test order

I am testing out a few things on my site (Still isn't live) and I need to place an order on grouped and bundle deals, to see 1. How it deducts the stock QTY from ERP 2. If it will send me an order ...
0
votes
0answers
16 views

Remove Configurable Product in Listing for Edit Order

Can anyone help me with how to alter this template? I want is to remove all configurable product in listing in Editing Order.
0
votes
0answers
36 views

Magento admin payment additional information show HTML tags

1.Magento 1 version : 1.9.4.0 2.Magento 2 version : 2.3.5 3.Fresh install of m2 4.Run migrate:settings 5.Run migrate:data All data is migrated We migrated data successfully but getting issues of ...
0
votes
0answers
4 views

How to make REORDERS stand out?

In Magento 2.3 I can go to any order in admin and choose REORDER. It copies the data and creates a new order. Afterwards looking at the reorder nothing stands out. Nothing says this was a reorder. How ...

1
2 3 4 5
42