Questions tagged [sales-order]

Denotes questions related to Magento Sales module's order functionality.

Filter by
Sorted by
Tagged with
0
votes
2answers
23 views

Magento 2 - How to add custom attribute to sales/order/view?

How can I add a custom field to sales/order/view in adminhtml? I want to save a tracking number related to the order. Thanks.
0
votes
0answers
13 views

Magento 2 - How to add a custom field in admin/sales/order/view

How can I add a custom field to admin/sales/order/view? I'm trying to add a tracking number field to the sales order view. The tracking number must be saved in the db.
0
votes
0answers
13 views

How do I retrieve the grand total in order currency using MySQL?

How do I retrieve the order amount in the order currency using MySQL? SELECT entity_id, (base_grand_total * store_to_base_rate) AS order_amount, order_currency_code FROM sales_order o WHERE o....
0
votes
0answers
11 views

Show admin order comments in sales order grid

I am trying to show admin order comments in a new column I created in sales order grid. Anyone know how I would do this?
0
votes
0answers
16 views

Magento 2 in Backend Order Creation how to override shipping method section

I have created a custom module in magento 2 and override sales_order_create_index.xml layout file in custom module and set referenceBlock. But issues that when first time page is loading from magento ...
2
votes
0answers
50 views

Magento 2 get Orders from last 24 hours

i need to extract the list of all orders executed in the last 24 hours, from now. I have a code almost working but not every orders is processing. The cronjob runs smoothly but i miss the last 3/4 ...
0
votes
1answer
19 views

Alert admin when order is made with a specific payment method

We currently have, on our site, the option to make payment either by credit card or Bank transfer. We would like a way for the admin to receive an alert email when payment is made using the Bank ...
0
votes
0answers
9 views

Estimation Delivery date by admin

I am searching for an extension admin can able to set the delivery date for the order. The default order estimation date will be 2 days. If it delays means the admin can change the date of a delivery ...
2
votes
1answer
19 views

Get Latest Ordered Items for a Customer Across Multiple Orders

I am trying to gather the latest 100 items a customer has purchased across all his orders. I know I can use itemCollectionFactory and go order by order, but I was wondering if there is a faster way to ...
2
votes
0answers
18 views

What is the standard order process workflow in Magento 1?

I'm trying to understand the order process in Magento 1.7. The background is: I'm extracting the payment (and later the complete checkout) from Magento to another system, but the order processing ...
2
votes
0answers
27 views

Magento 2 - offline payment have no entry in sales_order_status_history table

I am working on the implementation of Track order functionality in Magento 2 in which I am using the sales_order_status_history table to get all status history related to the orders. But this is ...
0
votes
0answers
12 views

How can add image in instructions for bank transfer for frontend as well admin magento 2

I have added an image in the Bank Transfer Instructions. It is showing fine for the checkout page at the frontend. But I need to show similar to the backend. In the backend, only the image URL is ...
0
votes
0answers
11 views

Magento 2 how to change order purchased from store?

I recently installed an split order extension, however, this extension splits the order and sets Purchased from to the default store view. I wanted to know if there is a way to change the store here:
0
votes
1answer
9 views

Magento 1 : Issue with Template override

How to override this file in magento 1 using module ? app/design/adminhtml/default/default/template/sales/order/create/items/grid.phtml
0
votes
0answers
11 views

Issue with block override Magento 1

Here is what i have tried i am trying to override Mage/Adminhtml/Block/Sales/Order/Create/Items/Grid.php block Config.xml <?xml version="1.0"?> <config> <modules> ...
0
votes
1answer
25 views

Magento 1 - How to override phtml file in module?

I am using magento 1 I am trying to override the below phtml file in module app/design/adminhtml/default/default/template/sales/order/create/items/grid.phtml Any thoughts ? Thanks
0
votes
1answer
29 views

Magento 2: sales_order_save_after called twice after place an order

I'm using Magento 2.3.4 and tried to catch the data order using sales_order_save_after observer like this: etc/events.xml <event name="sales_order_save_after"> <observer ...
0
votes
0answers
7 views

Magento 1 : where is the responsible files for “Gift cards,Store Credit” in Sales > Order > Reorder > Order Total section?

I am trying to display the highlighted values into (values with base currency) like US $0.00 I have checked this file- app/design/adminhtml/default/default/template/sales/order/totals/default.phtml ...
0
votes
1answer
20 views

Add text to Order Totals block in Admin > Sales > Order > Reorder >View Magento 1

How do i add some text on order totals in this section in picture ? Magento 1 Add text to Order Totals block in Admin > Sales > Order > Reorder >View
0
votes
0answers
14 views

Magento 2 Add extension attributes in order totals

I want to add a custom field in the cart totals API call /V1/guest-carts/:cartId/totals-information. The custom field value is stored in the quote table How can I do this?
1
vote
1answer
20 views

Override Block & Template File in Magento 1

What is the best way to override the below files theme/module & how one can override it ? app/code/core/Mage/Adminhtml/Block/Sales/Order/Create/Items/Grid.php app/design/adminhtml/default/default/...
0
votes
0answers
3 views

How to display USD values within reorders above the international value in Order totals?

I am trying to display the USD values above the international value in Order totals in REORDER PAGE ADMIN. I can see that the columns and ORDER TOTAL section is generated in this file app/code/core/...
0
votes
0answers
12 views

Total are not appearing in the “Order Totals” section On ReOrder from admin. Magento 1

The USD values likeky to be appear within reorders above the international value the way they do in regular orders. Seeing only the foreign currency value makes it difficult to validate that the ...
0
votes
1answer
14 views

Magento 2 Unable to fetch custom options from order item on sales order view page

sales_order_view.xml <?xml version="1.0"?> <!-- /** * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ --> <page xmlns:xsi="...
0
votes
0answers
19 views

Magento 2 On Reorder Page Fatal error: Uncaught Error: Call to a member function getPlaceOrderAdminUrl() on null

Sales - Order -Edit Order -> click Redorder I get following error on reorder page - Fatal error: Uncaught Error: Call to a member function getPlaceOrderAdminUrl() on null in /srv/public_html/...
0
votes
0answers
14 views

Orders grid not loading magento 2 (Something went wrong with processing the default view…)

Info: Magento 2.3.5 PHP 7.2 database: mariadb-10.2 Hi guys! Had someone already faced this issue on Magento order sales grid? "Something went wrong with processing the default view and we have ...
0
votes
0answers
9 views

Shopping cart rule applied but totals are not updated with discount amount

I am using magento 1 On admin reorder page their is no shopping cart rule applied ? Where i should check for it ? any thoughts ?
0
votes
0answers
11 views

Magento 2 Admin Navigation Previous & Next

In Magento 1 we use an extension that makes it easy to switch to the next order/product in Magento backend. I can't find such an module for Magento 2. Do anyone have an idea, how to implement this? ...
1
vote
0answers
12 views

Magento 1 Issue- Shopping cart rule does not apply on Reorder from backend

I am using Magento EE ver. 1.14.2.4 I have observed that shopping cart price rule does not apply on reorder from backend admin side. It considers the original product amount instead of applying ...
0
votes
0answers
7 views

How to add some custom price to order total on reorder from admin?

I am trying to add some custom price to order total on reorder from admin but i am not sure about using observer or controller to modify. Any thoughts ?
0
votes
0answers
7 views

Shopping Cart Price Rule not applying to Reorder

I have Checked that Shopping Cart Price Rule not applying to reorder in Magento 1. Is their any way we can apply Shopping Cart Price Rule to reorder from admin ?
1
vote
0answers
19 views

Change order status from pending to processing in Admin

I'm not much experienced in Magento. I'm working on a legacy Magento codebase where we use Magento 1.7. Currently the status is changed from pending to processing using API calls. And it works ...
0
votes
1answer
28 views

Magento 2 - Get Shipping Code or Method in Sales Order View in Admin

I have a custom shipping module that passes some information into the Sales Order and the email. The problem is that it shows the data even when the shipping method isn't used. How can I get the ...
2
votes
1answer
30 views

Magento 2 How to Create Shipment Programmatically

Here am trying to make shipment from a controller. here is my controller public function execute() { $orderId= 11; if ($orderId <= 0) { echo 'Order not found.'; ...
0
votes
0answers
15 views

Hide Salse Order custom grid When module is disable in Magento 2

i have create a custom module for the employee data show in magento salse order and i have add column in salse order grid i have create grid using UI component So can anyone idea about that how can i ...
0
votes
0answers
19 views

Help: Edit an order programmatically ( cancel old one and create new order with the increment ID as increment_id-x )

Please if anyone can help me, I'm trying to create a (Soap API v2 ) extension where I can edit an order programmatically, but I don't know where to start !! I tried to use the function startAction() ...
0
votes
1answer
48 views

How to add a custom items grid of order in Sales Order View admin side?

I want to make custom grid of items in which status of each item is managed separately in sales order view page in admin. So how to make such grid? For example this is in maganto 1 but I want to ...
0
votes
2answers
78 views

Magento 2 - Get Shipping Code in Sales Order view in Admin

I have a custom shipping module that passes some information into the Sales Order and the email. The problem is that it shows the data even when the shipping method isn't used. How can I get the ...
0
votes
2answers
32 views

How to join custom table with order grid collection in magento 1

I’m trying to join a custom table with order_grid_collection to add new column in admin sales order grid page, its working but the collection loads so slow. how can I join this table correctly to ...
0
votes
0answers
9 views

Editing 2 orders at the same time bug. Is there any patch released for this issue?

Is there any patch released for this issue? "when it comes to placing the orders after editing them whereby for instance the editing of 000000002 will result in it's new increment id being ...
0
votes
0answers
14 views

How to insert a field on the billing address display

Is it possible to insert new information on the display at the billing address? I have already captured the data before and would like to show it in the admin panel, as shown in the image below. ...
0
votes
1answer
25 views

Magento 2 - Create new order number after updating an order

Create new order number after updating an order. When order 0000123 was edited, magento created order 0000138 instead of 0000123-1
0
votes
1answer
74 views

Magento 2 - How to Make “Reorder” button in the reorder history to always appear?

Reorder button doesn't show up when an item is out of stock. How can I make the code to ignore this condition and allow customer to reorder by excluding the out of stock item. The "Reorder" ...
0
votes
0answers
7 views

add bundle Product (addProduct function) returns Please specify product option(s)

I'm new on Magento and I have an issue when trying to add a bundle item to cart/quote returning an error message Please Specify product option(s). this is the code I'm using $cart = Mage::getModel('...
0
votes
0answers
10 views

Magento 1 Submit order button not working for reorder

Magento 1 Submit order button not working for reorder. I have tried to reorder with cod payment method, but it didn't create order for the first attempt of reorder. When i refresh page & try then ...
0
votes
0answers
8 views

Where i can find “sales_order_create/loadBlock/block/card_validation” ajax call while reorder from backend?

I am not sure where i can find ajax call for "sales_order_create/loadBlock/block/card_validation" Is their any way we can find it ?
0
votes
1answer
29 views

Where can i find the create order logic code for “Submit order” button in magento 1 backend?

I can see that "order.submit()" is called from create order button but i am not sure where is the logic is located. Issue is order does not created on first click on create order button due ...
0
votes
1answer
27 views

order confirm mail getting error in magento 2

unable to find this error solution Error filtering template: Notice: Undefined variable: _store in /var/www/html/vendor/magento/module-sales/view/frontend/templates/email/items/order/default.phtml on ...
0
votes
0answers
14 views

Remove items from order items using SQL query Magento 1

Is there any way we can remove some items/ some SKU's from order items for multiple orders using MySQL query in Magento 1 in a script? Feel free to share thoughts on this.
0
votes
2answers
58 views

Restrict adding products to cart from admin order create

I am creating order from admin end. My requirement is to restrict few products to place order only from admin. I need to show some message when those particular product selected and added to Order, I ...

1
2 3 4 5
27