Questions tagged [sales-order]

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

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

Magento2 - You have placed no orders

After placing an order the Customer's Account shows You have placed no orders. and shopping carts and wish lists. it gone? Please Help Backend Thanks
0
votes
0answers
21 views

Magento 2 Override ordered items

I am trying to override the items ordered section in Order view page. I want to add an extra column against each item. For example "Manufacturer" column. I added the column via sales_order_view.xml, ...
2
votes
1answer
22 views

Remove Payment Due for Sales order

How do we remove additional payment due on Magento if the customer paid outside of Magento? The case is the customer bought a product online and paid but changed his order and sent an additional ...
0
votes
0answers
22 views

Magento 2 - How to create custom order email template for admin and customer?

I want to create a email template for admin and customer and i want to attach a dynamic image in that. I know there is a option in config but it is too confusing and it does not provide variables ...
2
votes
1answer
820 views

Get Sales Data of Current Day

I can get sales revenue with this $orderTotals = Mage::getModel( 'sales/order' )->getCollection() ->addAttributeToFilter( 'created_at', array( 'from' => date( 'Y-m-d' ), 'to' => date( ...
0
votes
0answers
23 views

Magento 2.3.2 - Last 5 orders on Dashboard showing empty on total column after migrating database from osCommerce

I am facing issues on the dashboard at the Last Orders section, as the total column is showing empty. The same code is running on my local server without any issue, but not working on the live server ...
1
vote
2answers
92 views

Update item custom quantity and salable quantity value after place order in Magento 2

I need to decrease purchased item saleable quantity with custom value (x* ordered_qty) after place order in Magento 2.Right now I'm using the following observer and class to update the quantity of ...
0
votes
2answers
33 views

Magento 1.9- Order not placed using SagePay

I am getting an error while try to place order using Sagepay payment method. When I click Order Place button, an alert message is showing. Like: Can't load serializer adapter "Phpserialize".
0
votes
1answer
738 views

Custom filter in the sales order admin grid giving Invalid block t

I've been able to filter custom added column like 'seller name ' its get from seller id of product. other filters are working. $this->addColumn('seller_id', array( 'header' => Mage::...
0
votes
0answers
20 views

Getting error after backend user role assigned to Sales order in Magento 2.3.2

I am facing error in sales order view screen after backend user role assign -> sales I have disallowed only Sales shipment for user role. Something went wrong with processing the default view and ...
0
votes
1answer
803 views

Sales order view custom tab and grid - Ajax problem

I have added a custom tab using xml layout updates to the order view in Magento. I have then added a custom grid to the new tab and enabled Ajax on the grid. I have set setUseAjax(true) and ...
0
votes
0answers
24 views

Magento 2 error with order view page, customers and orders data displayed crypted

I get the following error while going to the order view page on my local magento installation: Order View Information Changes have been made to this section that have not been saved. This tab ...
0
votes
0answers
14 views

SagePay transaction(s) have no order associated

In my magento2.3.3 when customer pay with sagpay payment, Order Id is not generating it's with "error" and i can't able to see in sales->order page in backend.
2
votes
2answers
5k views

In which table Order's comments history information will store?

I'm using paypal express checkout.and In order comments history tab the following type of information is stored. Payflow PNREF: #B1PP7A1A6D7C. Authorized amount of $94.99. Transaction ID: "...
0
votes
1answer
907 views

Order View missing buttons

I have my first orders (all sold with PayPal) but in the order view there are no buttons for invoice, ship or reorder. I cant figure out what's wrong. /app/core/ hasn't been changed. Do you have an ...
0
votes
1answer
955 views

which phtml file is use for New Order Confirmation Template for Guest/Seller?

i have created and implemented the code to call product thumbnail and product url for "New Order Confirmation Template" thats is use for customers.my code is below $objectManager = \Magento\Framework\...
0
votes
1answer
869 views

Recalculate Total after Order place

I m trying to recalculate magento total using magento event observer after placing order.I m use below code to calculate total. Observer Functon public function recalculateTotal($observer) { //...
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 ...
4
votes
1answer
2k views

Magento - Show custom data on Order Information page (Customer Account)

I need to display points earned by customer on Order Information page under customer account. module.xml <sales_order_view> <reference name="order_items"> <action method="...
0
votes
0answers
19 views

magento , how to correctly change order status to CLOSED

i try to change order status to CLOSED, but code which I use does not work for me i have this code $model = Mage::getModel("inventorylog/inventorylog")->load($id); $order = Mage::...
0
votes
2answers
1k views

Displaying columns in Sales Order Grid

I have the following code to show some extra columns in the sales order grid. It correctly shows the columns and data, but when I try to click an order it says "No order exists". I wondered if anyone ...
4
votes
2answers
5k views

How to get email address by order id in Magento 2?

I have a controller that load order like this: $order = $this->_objectManager->create('\Magento\Sales\Model\Order')->load($id); Is there a way to get a customer e-mail address by load order ...
1
vote
1answer
18 views

Magento 2.3.0: Error when trying to generate shipment more than 3 products

When trying to make shipment of order having more than 3 products then it showing below error - Anybody face this type of issue , please suggest.
0
votes
0answers
9 views

Confirm order once customer pays via paypal

I have a question related about Magento 1.Like below "As there should be no need to confirm order once customer pays via paypal or sage, after payment page, customer should directly see order success ...
0
votes
0answers
27 views

Magento2 Order Date is Wrong in Admin Grid

We created an order in magento2 with API calls. It is working fine as expected . We have created_at field date as 23-01-2020 12:12:12 in database where as in admin magento2 order grid it is ...
1
vote
1answer
2k views

I need to add custom Order Item attribute and Quote Item attribute

I need to add custom order item attribute and quote item attribute at when product add to cart. Attribute value store in quote item table but not in order item table. config.xml <?xml version="1....
0
votes
2answers
288 views

Send Email to customers automatically

I am facing issue in order update. Presently when i create an order We have Email order confirmation checked by default. But similarly for order update/ create invoice/ create shipment I need ...
1
vote
1answer
1k views

How to save order comment programmatically in magento2?

1)I'm creating custom order comment text box in sales->order->create new order . 2) Created order_comment column in sales_ order grid/quote. 3) I need to save order comment text box value into db....
0
votes
0answers
21 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
17 views

How add the removed item to the order again?

I need to remove products from the order, after which, removed products can be added to the order $backOrdersIds = array(); $this->getQuote()->getItemsCount(); foreach (...
0
votes
0answers
15 views

How to remove the product from the order?

I'm trying to remove a product from an order, but my code is not working $backOrdersIds = array(); foreach ($this->getQuote()->getAllVisibleItems() as $item) { $oldQty = (...
0
votes
1answer
21 views

magento , sales order save after how correctly update order data

How correctly update status for order? i have this code, but it's not working for me public function salesOrderSaveAfter($event){ //check for fires twice if(!Mage::registry('...
0
votes
0answers
12 views

Salse order not open adminside in magento 1.9?

Guy's, The Salse order view page can't show on the admin side. I have installed the security patch 10975, 11155, 11219. then i will check my admin side so i can not see order view page. - https://...
1
vote
2answers
2k views

Magento 2 An error occurred on the server. Please try to place the order again

I know my question are like this But in my case when I check errors I see this Magento\Customer\Model\Customer\Interceptor::_getResource","trace":"#0 /backup/html/toph/vendor/magento/framework/...
0
votes
0answers
11 views

How to unset tax for backend order in magento 2.3.2?

I want unset tax rate for backend order while create new order from admin in magento 2.3.2 i have successfully unset tax rate for frontend order using plugin on mapItems method. could you ...
0
votes
0answers
24 views

Add Expected delivery date in order

I need to add expected delivery date on each order.Currently there is no any module or plugin to show estimated delivery date.It needs to customer to know when our product will be arrive.
0
votes
1answer
2k views

How to add column in admin sales order grid magento 2

I want to add SKU column, customer first name and last name in admin sales order grid. Please guide me how can I achieve this?
2
votes
2answers
1k views

Magento 2 How can I remove tabs in order view?

It is able to remove the block by using But how can I remove the tab which is added by using argument? Thanks. <block class="Magento\Sales\Block\Adminhtml\Order\View\Tab\Creditmemos" name="...
0
votes
0answers
23 views

Magento 2 Get Returned Items in an Event

I am trying to get the returned items of an order during sales_order_save_after event. But this event has not been triggered while creating returns for an order. Is there an event or way to get the ...
0
votes
1answer
71 views

Information Changes have been made to this section that have not been saved. This tab contains invalid data in Magento 2

I am facing this error in the admin side when viewing the orders. It showing Order View Information Changes have been made to this section that have not been saved. This tab contains invalid data. ...
0
votes
1answer
436 views

Information Changes have been made to this section that have not been saved. This tab contains invalid data. Please resolve this before saving

I am getting below error on order view page in magento 2, what is the reason for this error. Information Changes have been made to this section that have not been saved. This tab contains invalid ...
0
votes
0answers
30 views

Order confirmation mail not sending in magento 2.3.2

I have set Under Mail Sending Settings make sure Disable Email Communications is set to No. Also verify your Host and Port fields if you are using any external mailing server. Got to Stores -> ...
1
vote
2answers
672 views

Get all the details of sales order via order id in my controller?

I want to get all the details of a sale order in my controller and then update the status of that order. Plus how can I pass order ID in URL string and then get it as Magento 1.9 doesn't allow $_GET[]...
2
votes
1answer
901 views

Get an order's products in /sales/order/history.phtml

In Magento 1.9, the "dashboard" and "order history" pages contain table of orders with summary info (date, order #, total) but not some helpful details (product image, product name, line price, ...
0
votes
0answers
9 views

Magento 2 how to add new payment method for admin orders?

I want to create new payment method just for admin. My aim is when I can place order through admin area I want to show a new payment method which lets me to type a text. Example if you click ...
0
votes
2answers
53 views

Magento2: How can I modify custom order number?

I want to modify order number 000000001 to 202000001. Please help me in this.
0
votes
1answer
847 views

How to add custom data in order payment extension attribute rest api in magento2

I want to add custom data in order payment extension attribute like below :- "payment": { "account_status": null, "additional_information": [ "...
1
vote
1answer
2k views

Please specify product's required option(s) magento 2

I am adding product into my cart through productid and qty but when i load into cart it's displaying this message. Please specify product's required option(s). <?php namespace Racom\Chatbotapi\...
0
votes
1answer
681 views

Magento 2 Get simple product image URL instead of parent image

the below code getting parent configurable parent image even if simple, So how to get the simple url also? $_item = $block->getItem(); $objectManager = \Magento\Framework\App\ObjectManager::...
0
votes
1answer
31 views

Invoice VAT - Non VAT

Placed an order with an incorrect VAT number, which then allowed me to submit my order as a Non-Vat customer. Is there any way to now change that order to a VAT customer and submit a new invoice ...

1 2 3 4 5 24