Questions tagged [orders]

Mark questions related to Magento orders

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

How to add multiple pages in invoice pdf?

I am generating an invoice of order. when the order is big means it has a lot of different items in it. It shrinks the text inside the invoice. I want to make it go on two pages or more if the order ...
0
votes
1answer
32 views

Magento 2 Get all Orders sort by latest orders

I am using the below Rest api to fetch all orders in desc i.e the latest on top but its not working index.php/rest/V1/orders?searchCriteria=all&searchCriteria[sortOrders][0][field]=order_id&...
0
votes
0answers
16 views

Magento 2 order limit in sequence_order_1 table

I had faced a problem with order limit in magento 2. If click Place Order button magento autoincrements sequence_value in sequence_order_1(by default) table. And this table has max_value and if ...
1
vote
1answer
28 views

In Magento 2.3, Is possible to cancel the Holded order?

In magento 2.3, Is possible to cancel the holded status order?
1
vote
2answers
26 views

Magento2 - How to maintain custom log the order status changes?

In Magento2.3, I want to maintain the custom log table when order status change. How to achieve this?
0
votes
1answer
33 views

How to get order data before and after save in Magento 2?

In Magento 2, How to get order data(before and after save) using plugin function. I tried this solution but it is not working.
0
votes
0answers
21 views

How to validate data before shipping

I need to validate data before shipping the product (match order vs and shipping SKU, shipping qty vs qty remain to ship, etc..) I created a plugin to validate but it's not working, below is my ...
0
votes
1answer
34 views

How to update product stock quantity when placing order in magento 2?

Can anyone help How to update product stock quantity when placing an order in Magento 2 programmatically? I am new to Magento. I need a sample example.
0
votes
0answers
11 views

How to add new order status like Ship as I want to create new order status for order delivered to fire mail like ship

How to add new order status like Ship as I want to create new order status for order delivered to fire mail like ship and change the order status. For Order status flow for in Magento normally is: ...
0
votes
1answer
16 views

Random products added to order after checkout

As stated in the title, after completing checkout on a test order and checking the order within the admin panel, the test order has random products added to it. What really confuses me is that the ...
0
votes
0answers
13 views

Orders not showing inputted customer address

After checking out, the order's shipping/billing address is not set to what is inputted during checkout. Seems to be defaulting to something. I'm new to magento and taking over the work of another ...
0
votes
1answer
24 views

Extending Order Search Filter

I got the task to port some custom build stuff from magento 1 to magento 2. One function was the extension of the order api, now the OrderRepository. In theory I got it running, but my problem is, ...
0
votes
2answers
16 views

Magento 2 Set order status while placing an order

In Magento 2.3.x, I want to set the (custom) order status while customer placing an order. How to achieve this using event observer or plugin.
0
votes
1answer
30 views

How Shopping Cart, Order Summary get quantity value?

I found this page vendor/magento/module-checkout/view/frontend/web/ template/summary/item/details.html <!-- /** * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license ...
0
votes
0answers
15 views

Unable to generate Shipping label in magento 2.3.3

I have integrated USPS in my magento 2.3.3 store i have put all the necessery information like store information,store address with zip code etc. When my customer order something i have to create ...
0
votes
1answer
25 views

Order items is empty when customer logged-in

I'm use following code to catch order information in this Observer : "sales_order_save_after" public function execute(\Magento\Framework\Event\Observer $observer){ $orderData = $observer->...
0
votes
0answers
20 views

How can i get customer order using customer token?

In Magento2 we have rest api to get customer orders.[Route: "/rest/V1/orders"]. It can used only by admin token. I want to get customer purchased order list using customer token. I couldn't find any ...
0
votes
0answers
44 views

Magento 1.9 Observer - How do visible selected payment gateway only for specific customer group?

Following code return customer group, how to add condition if customer group "Tester" then only show selected payment gateway? app\etc\modules\Gta_FindPaymentGateway.xml <?xml version="1.0"?> &...
1
vote
2answers
33 views

Magento 2 - Observer after order not work

In Magento 2, I try to add an observer sales_order_place_after and it doesn't work. app/code/Vendor/Module/etc/event.xml <?xml version="1.0"?> <config xmlns:xsi="http://www.w3.org/2001/...
0
votes
1answer
26 views

How to display 'Shipping & Handling' in PDF if Shipping Amount is $0.00?

Magento 2.3.2 In my invoice PDF if Shipping & Handling amount is null or 0 it hides that row like this: But I want to to display it as $0.00 if the price is null like this: I found this file /...
1
vote
2answers
23 views

2.3.3: Moving to an updated version of a website

I need to move from my old version of my site to my new one. I have imported all the orders although I did this manually as the products structures completely changed. I would like to know a reliable ...
0
votes
1answer
26 views

How to assign guest orders to registered customers by email via SQL?

I'm using this SQL below to manually assign guest orders to registered users. UPDATE sales_order SET customer_id = {YOUR CUSTOMER ID}, customer_is_guest = 0 where entity_id = {YOUR ORDER ID}; UPDATE ...
0
votes
0answers
17 views

Suggestion : Credit Note Redemption In Magento2

We have an offline and online store for clothes. When a customer wants an exchange we are doing it offline presently with our POS system. We developed an online magento2 system and all the features ...
0
votes
1answer
27 views

Show Order Comments on Invoice shipping PDF Magento ver 2.3.0

How to show order comments history in PDF shipping vendor/magento/module-sales/Model/Order/Pdf/invoice.php
0
votes
1answer
19 views

Invoice automatically created when i am placing an prepaid(Razor Pay) order in magento 2.2.7?

Can any one help me on this, When I am placing a prepaid order in magento, the invoice gets generated automatically. Before it was I manually created an invoice but now it's automatically genrated,...
1
vote
1answer
94 views

Magento 1.9 - CCAvenue Orders Automatically Cancelling

I have received order, if i try to take invoice its not possible to do that because of qty canceled as well as Canceled updated in Comment History, I am using CCAvenue Payment Gateway. How to solve ...
0
votes
0answers
66 views

The requested SKU is not assigned to the given stock

When I access my admin panel and try to send the order I received this message below, how could I fix it? I suspect that it'd be caused by the MSI.
0
votes
0answers
23 views

Magento 2 Make products clickable in items ordered

Is there any way to get the product name clickable and so that It leads to the specific product page? I was looking at this before but there was no answers: https://community.magento.com/t5/Magento-2-...
1
vote
0answers
29 views

Problem on front end shipping table rate calculation amount not showing correctly in review order page - magento2.3

I am using magento2.3 table rate -> enabled:yes condition:Weight vs Destination Ship to Applicable Countries:specific countries Include Virtual Products in Price Calculation:yes Calculate ...
2
votes
5answers
138 views

How to get tax settings from order object?

In Magento 2 how we can check from order object that what is the settings for the tax either its including or excluding. We can get the tax info generally by this function $this->scopeConfig->...
0
votes
1answer
28 views

Get correct configurable product image on my order page

i am want to show correct product image on my order details page: I am using it as: $_item = $block->getItem(); $objectManager = \Magento\Framework\App\ObjectManager::getInstance(); $_product = ...
0
votes
1answer
30 views

How to export orders by date via SQL?

I'm using a Magento 2.3 instance, how could I export my orders in a CSV file by date range via SQL? I want to have the shippingId, orderId and paymentId included in it.
0
votes
0answers
19 views

Magento 2 : Load more in my order

I want to make a function load more in my order(may not be used ajax) here is description image How can I do it? Any help? Thank in advance.
2
votes
2answers
123 views

Magento 2: is there any way to set order id incremented by 5 on next order?

I need to increase order id by 5 on the next order placed. For Example: First order id is #10000007 then the next order placed shall have the order ID as #10000012 and so on, incremented by 5 ...
0
votes
0answers
8 views

Order got placed but no warehouse selected

Some orders in Magento 2.0, do not shows any Warehouse name in Warehouse/Vendor column, however orders got successfully placed. This is happening from when we upgraded to Magento 2.0
4
votes
0answers
64 views

Edit order programmatically without canceling

I want to edit any order programmatically. The tutorials that I am getting is canceling current order and creating new one. But I need something different, I want to edit it without canceling or ...
0
votes
1answer
34 views

Magento2: order data issue

In response variable, I am getting the last product only; not getting all products but in my log file, I am getting all products. Here is my code: class SalesOrderSaveAfter implements ...
1
vote
1answer
110 views

Magento 1.9 - How to add serial number in sales orders list & invoice list?

How to add serial number for both order list and invoice list, sales->order sales->order->invoice If i add below code in -> app\design\adminhtml\default\default\template\sales\order\view\items....
1
vote
1answer
41 views

Magento 2: Automatically generate CSV file on every order

I need to create a CSV file on every order I receive. How can I do this? Can you guys please suggest me a way to do this or an existing module that does that? Thanks!
1
vote
0answers
26 views

Magento 2.3: Order Create Programatically Script Allowed memory exhausted

I am working on creating orders dynamically using custom magento script , got reference from How to create order programmatically in Magento 2? now when I run script, after making 10-15 orders, first ...
2
votes
1answer
53 views

How can I get order details of specific product in Magento 2.x?

I want the detail of orders for a specific product and get the customers detail that which customer had purchased that specified product. How can I know that in Magento 2? For example: I am having ...
1
vote
0answers
33 views

Magento2 one page success error

I get blank page when I place order, on success page I have 500 error and it is blank. I can see the order on admin panel and buyer panel, but status is pending. Also i increased PHP memory limit. I ...
0
votes
0answers
34 views

Magento 2.3.2 Unnecessary warning messages during creating order with disabled product

i have place order via admin and i have select any products after click on Update Items and Quantities showing below type message and i can't place order 3 error messages are displayed : 'The ...
0
votes
0answers
15 views

Grand total should update automatically in credit Memo in magento2 admin

I want to update the Grand Total on the fly when we change the Refund Shipping, Adjustment Refund, Adjustment Fee in the Order Credit Memo. Kindly help if anyone done it before. Thanks in Advance ...
2
votes
0answers
14 views

Magento 2.2.10 cancelling orders from admin

If I cancel order from admin the status change to rejected and the item status change to cancel as I expected. Is it possible if I could move the reject status to cancel too? If there is anything I ...
0
votes
2answers
36 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?
2
votes
1answer
37 views

Magento2 admin panel ordered product link

How to add products link in magento2 sales=> order tab in admin panel? Also I want to add custom attribute to order grid in admin panel. for example want to add type(custom attribute) to admin panel ...
0
votes
0answers
22 views

Get Order Comment Event Magento 2

I want to get a comment which submits when order view. I use this event sales_order_status_history_save_after and it fire when submitting a comment but I am struggling to get a comment which user adds....
0
votes
0answers
21 views

Magento1 Admin Order create shipping method missing

Magento 1, while creating an order from the admin shipping method is disappear I don’t know how. Before few days it was there. Under shipping method “Get shipping methods and rates” link was there but ...
1
vote
0answers
32 views

Magento 2 : Show order items custom option text value in order api (/V1/orders/{id})

I want to show order products custom option in default magento 2 api rest/all/V1/orders/order_id run it looks like below as we know I need text value of the custom option in default single magento ...

1 2 3 4 5 41