Questions tagged [sales-order]

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

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

How does submit shipment updates the order status in magento 2 admin panel?

I am looking for a Controller from where does the Order status gets updated in sales_order when we click on Shipment in magento 2 admin panel I want to hook some event on Submit Shipment button in ...
0
votes
0answers
22 views

Solution for editing and sending PDF invoices?

What would be the easiest solution to edit the design of a PDF invoice and send it to customers? As I understand, editing the design in Magento is a bit too complicated. I'm currently considering 2 ...
0
votes
0answers
13 views

How to add thumbnail column in each item on sales order search grid in magento 2 admin?

I am trying to add a new column with thumbnail in magento 2.4.3, Admin > Create new order in the section where you search for products to add them in the order How can I do this please?
0
votes
3answers
26 views

save custom billing attribute value from order

I have a problem with saving the custom billing attributes. I added attributes into the Customer Address Entity table. all fields of billing address are saved to DB without my custom attribute. My ...
0
votes
0answers
13 views

Magento 2 how to modify SKU in order rest api response

I have to edit the SKU with some other data. When I use this rest API below http://localhost.com/rest/V1/orders/1 I get SKU in two places like below. Place one at the first like below "items&...
0
votes
1answer
38 views

Magento 2.4 Get tracking Information from order/shipment [closed]

Track My Orders Using Order Status in Magento 2 Pending as Ordered Processing as Accepted Shipping as On It's Way Completed as Delivered
0
votes
0answers
15 views

How to Add Custom Value to Order table From Admin Panel Sales Tab

I want to add an input text field to save some value in the order table from admin panel. How to achieve this. I have added a tab only like this how to extend it?
0
votes
1answer
24 views

Magento 2 how to get order information using soap api

I want to get order information using soap API $wsdlUrl = 'http://website.com/soap/default?wsdl=1&services=salesOrderRepositoryV1'; $serviceArgs = array('searchCriteria' => array('...
0
votes
0answers
16 views

getting error when view order in my account section magento2

After placing an order when viewing the order I am getting the below error in my account section. Type Error occurred when creating object: Magento\InventorySourceSelection\Model\Address, Argument 1 ...
1
vote
0answers
12 views

want to add amount field in Transactions grid (capture and refund amount show in column as per Transactions)

i want to add amount field in sales Transactions grid which show capture and refund amount as per Transactions ids
0
votes
1answer
26 views

Tax amount calculation function issue

I have an issue with tax calculation total, you can see image below. Where can I find the tax amount calculation function? I find this in template <td class="admin__total-amount"> &...
0
votes
1answer
25 views

Shipping charges not showing on Totals admin order

I am trying to create an order from the backend side. after adding all details and selecting any shipping method the price adds to the total but is not visible on the order. Any way to override the ...
0
votes
0answers
14 views

Order tax rounding issue

In /vendor/magento/module-sales/view/adminhtml/templates/order/create/totals/tax.phtml <td class="admin__total-amount"> <?= /* @noEscape */ $block->formatPrice($block->...
0
votes
2answers
30 views

How to get the selected payment method when the "sales_order_save_after" event is fired?

I'm developing an observable that listen to the sales_order_save_after event. I have the order information executing $observer->getEvent()->getOrder() but i cannot get the payment method ...
0
votes
2answers
58 views

How to add a custom attribute in the Items Ordered table

How to add a custom attribute column with its data to the Items Ordered table at the order view page. I have followed this link and but it is not working for Magento 2.4.2 How to show product custom ...
0
votes
0answers
12 views

Magento2 cancel non shipped items

When click on submit Invoice from admin, I need to cancel the order with non-shipped items and also the order status will change to complete without canceling the order. Can anyone provide ...
0
votes
1answer
19 views

Magento2 : Display shipped items value in qty box

After submit shipment in admin and complete order, How to display shipped value in quantity box instead of total qty items like below I want like this
0
votes
0answers
22 views

How to create order programmatically in Magento 2 using custom module?

Following code helped me to create order in magento 2 and it is tested already using my magento api : Include below classs in your module use Magento\Sales\Api\OrderRepositoryInterface; use Magento\...
0
votes
1answer
29 views

Magento 2: Is there any way to set "Maximum/Minimum Order Total" Config settings for PayPal express checkout And Braintree credit card payment method?

I want to add a minimum and maximum order total configuration for PayPal express checkout and Braintree credit card payment method. Just like bank transfer/ cash on delivery payment methods. I tried ...
0
votes
1answer
32 views

Add Custom Button with Functionality to Order Detail - Magento 2.4

I am trying to add a custom button to the admin order detail page. With the code below the button shows up correctly. However, when clicked the page loads to a 404 page. I can't seem to find a route ...
0
votes
1answer
22 views

what is the use of qty_invoiced column in sales_order_item table?

I want to know that what is the use qty_invoiced column in the sales_order_item table in Magento 2.
0
votes
0answers
25 views

Newly added column in sales order table not showing in grid

I had added a new column in sales_order table using UpgradeSchema. The column was successfully added and also I was able to save value in it. Now what I want is to show this column in Sales Order Grid....
1
vote
0answers
101 views

Placing order in Admin for customer does not work after upgrading to Magento 2.4.3-p1

After upgrading my staging from Magento 2.4.3. to 2.4.3-p1 I am not able to place an order in the Admin for a customer. Also reordering an existing order from Admin is not possible. I can on the other ...
0
votes
0answers
21 views

Magento 1.9 Convert Order item to Quote Item

I am working on an order edit plugin. What is the best way to convert an order item to a quote item? Like if the order has a configurable product the sales_flat_order_item table has 2 entries, 1 for ...
0
votes
0answers
17 views

Magento 2 : How to Disable Allow Backorders Per Website

I'm looking for some help to create a simple module so I can disable "allow backorder" per website. We currently run Magento 2.3.6 and MSI is disabled. Can anyone help me with the file ...
0
votes
1answer
30 views

How to change column length in table sales_order

I'm new to Magento. I want to store 3rd party order id and customer id in column ext_order_id and ext_customer_id in table sales_order. The problem is these 2 columns have length 32, so I altered the ...
0
votes
0answers
39 views

How to add a product with custom price to the quote with plugin [beforeSubmit] in Magento 2

I have a plugin to replace one of the products in the last step before a quote is submitted. I'm able to add a new product, remove the old one but I can't set the new product price to the price of the ...
0
votes
0answers
35 views

How to use 2 observer in same event in Magento 2?

I want to use 2 observer on 'sales_order_place_after' this observer as i have checked if i place one observer it works fine but how can i run 2 observer with one event. <event name="...
1
vote
0answers
56 views

How to fix negative value turnover in magento 2?

I am facing a problem, when I buy a product, the total revenue does not increase but decrease to a negative value, anyone have any comments or errors, please give me an answer to solve this problem. ...
0
votes
0answers
14 views

Stock Quantity not increasing after cancelling order

I have a magento store configured with 2 sources. When I placed the order, the salable quantity decreased. After creating a shipment for the order and choosing one of the available 2 sources, the ...
0
votes
1answer
35 views

Magento 2 how to add order view information blocks and sections to my custom tab?

I would like to add Order View -> Information sections to my custom tab at admin end. Here is my layout file sales_order_view <?xml version="1.0"?> <!-- /** * Copyright © ...
0
votes
0answers
16 views

get number of items in order summary

I need to display the number of product in cart page in order summary block, it has to be uploaded by ajax once we increment or decrement the quantity
0
votes
1answer
91 views

How to Get Sales Order Report Collection Programmatically in Magento 2

I want to get sales order report collection programmatically. I don't know by which class I can able to fetch. Can anyone please help me? I want to get same records which display in screenshot.
0
votes
0answers
19 views

Magento2 : Total missing from order

Order authorized correctly, but some reason total saved 0.00 value. How to correct it?
0
votes
2answers
637 views

Magento 2: After uprgading magento version Order Items not adding from admin

Create a new order from the Admin panel for a particular customer. Magento default functionality is not working When I add a new product and update to the shopping cart option then the page refresh ...
0
votes
0answers
44 views

Magento 2.4 extension attribute "pickup_location_code" not updated in grid

For every order I add dropdown that admin user can assign order to another "Pickup location". When user click button "Assign" I call Ajax and in controller change/update "...
2
votes
0answers
50 views

Magento 2 : Klarna Pay later method not appearing

I am using magento 2.4 EE version Klarna has below payment solution : Pay later Pay in X days (currently this one is only appearing) I have configured klarna payment method by following these doc ...
0
votes
2answers
52 views

How to cancel order using tracking number in magento 2?

I need to cancel order using tracking number in magento2?
0
votes
0answers
8 views

Magento Adress fields in backend not displaying + Access Denied

I can do anything with my magento backend, but I do have one problem with the customer details. All orders don't show the customer address but just a "*" I tried to setup:upgrade magento and ...
0
votes
1answer
41 views

Order custom attribute, extension attribute or EAV attribute | Magento 2

I want to add custom attribute for Order From what I have learned, there are two ways this attribtue can be associated to Order entity Having extension_attributes.xml + custom repository (and ...
0
votes
2answers
45 views

Magento 2 : Delete order programmatically

I am working on to create an a controller in its execute method the order id will be passed & using that order id the order will be deleted permanently from magento. is their any way to delete ...
0
votes
1answer
96 views

Magento 2 : Get product price including tax in order confirmation email

Is their any way to Get product price including tax in order confirmation email ?
0
votes
1answer
31 views

I am getting this error PHP Fatal error: Uncaught Error: Class 'Magento\Framework\Model\AbstractModel' not found in

<?php namespace Mastering\Blowhorn\Model; use \Magento\Framework\Model\AbstractModel; class Blowhornmodel extends AbstractModel { public function _construct() { $this->_init('...
2
votes
0answers
45 views

Ghost orders in Magento 2.4.2

I am on Magento ver. 2.4.2 EE I have reported that rising cases of orders appearing in Stripe but not in Magento. Most seem to be paid with Apple Pay. I have looked in admin for a customer, the order ...
0
votes
0answers
22 views

Magento 2: Order Information Attachment with Order Email

I have created a module which is used to send order information as attachment in order email like invoice attachment in invoice mail. I got order attachment in order email but I can't get Order items ...
1
vote
1answer
41 views

Magento 2 : Difference between getRowTotal() or getRowTotalIncTax()

In order confirmation email, I have found these two methods $_item->getRowTotal() & $_item->getRowTotalIncTax() The $_item->getRowTotal() seems like Row Total = ((ordered item price * ...
1
vote
0answers
56 views

Magento 2: How to put products on separate rows in export order XML?

I want to display product names in separate rows along with their weight and sku's when I export orders using xml. Here is my custom code(ConvertToXml.php) where I added sku and weight: <?php /** *...
0
votes
1answer
45 views

What does total_qty_ordered in sales_order table mean?

We currently migrate our old Shop Database into Magento. So we try to understand the table fields of Magento. First: Do you know an documentation about the Magento database fields and their meanings? ...
-1
votes
1answer
32 views

Is there any extension Order Exchange with same product option or different products in Magento 2?

Is there any Magento 2 extension available for Customer order exchange with same item different Size/color And also Order Exchange with different Products. reference link Myntra
0
votes
2answers
290 views

Magento 2 - How to get product attribute in order API

I added two new product attributes to a product called netsuite_internal_id & ava_tax_code if I do a GET to /rest/V1/products/{sku}, I can see them in custom_attributes.attribute_code. When a ...

1
2 3 4 5
27