2022 Developer Survey is open! Take survey.

Questions tagged [sales-order]

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

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

Magento 2 Print order pdf issue

I am trying to find the file responsible for "Print order" PDF on the customer account page. Any thoughts on how can I modify the content of it? I am using Magento ver. 2.4.3.
user avatar
  • 63
0 votes
0 answers
6 views

Custom Grid With Payment Pending Orders and with Status Change Action Option

Hey There i want to create a module which can create a Admin Grid page with all the payment Pending Orders and i can manually update there status with the help of actions. I have been trying many ...
user avatar
0 votes
3 answers
56 views

Magento2.4 - stock quantity deducted twice in observer

I'm using Magento 2.4.3-p1 and I'm trying to decrease stock quantity with custom observer while placing an order, but salable quantity is decreasing twice, my events and observer file are this: etc/...
user avatar
0 votes
0 answers
15 views

After open the sales -> order listing page face this issue

**After open the sales -> order listing page face this issue in admin panel** Something went wrong with processing the default view and we have restored the filter to its original state. and find ...
user avatar
0 votes
0 answers
28 views

Magento 2 How to cancel the order during the process

I would like to know if there is a way to cancel the order during the creation process, I have a model that calls an api, if this API result is false, I would like to cancel the order even before it ...
user avatar
1 vote
1 answer
66 views

Place order programatically & redirect to thankyou/success page. (Magento 2)

I am working on creating a functionality where I have added a "buy now" button on the product page, when the user clicks that button then a popup form appears, entering all necessary details ...
user avatar
0 votes
3 answers
66 views

Magento 2.3.5-p2 with Stripe Plugin 3.0.0: New order emails being sent twice

Checking out with Stripe plugin for magento (ver 3.0.0) on Magento 2.3.5-p2 sends out 2 "New order confirmation" emails with the same order number, no invoice email gets sent. Tried checking ...
user avatar
0 votes
0 answers
24 views

Query SearchCriteria Deals - status_histories

Good morning, I need to do a query about the order with these conditions: Status State Payment > method status_histories > comment Status, State and Payment_method works. curl --location -g --...
user avatar
0 votes
0 answers
26 views

How to add cancel button with all items in magento2 Order View page?

For example, I want to add button with heading CANCEL and action CANCEL button item level. Thanks, Zahid
user avatar
  • 120
0 votes
0 answers
16 views

Magento2 - How to add multiple transaction into Order

I have a scenario in which I am adding multiple transactions for an order, I tried to use the below code but records are adding in sales_payment_transaction but not in sales_order_payment as its ...
user avatar
0 votes
1 answer
27 views

How to hide shipping method in admin sales order

Is it possible to hide a particular shipping method based on postcode only in the admin area? When I say admin area I mean the Sales order page in the admin section. I have tried around a plug-in <...
user avatar
  • 45
0 votes
0 answers
7 views

How to display custom attribute value in sales ordered view table from admin side

Please can you help me in this regard. Thanks.
user avatar
  • 120
0 votes
1 answer
92 views

How to search by like query in sales order grid?

I'm using Order's increment ID in the search by keyword field to get the search results. However, it only works with 00000XXXX and not by XXXX. Search by keyword is using Fulltext searching but how to ...
user avatar
0 votes
0 answers
19 views

magento 2.4 show custom data on admin order page information section

I'm on magento 2.4. On the admin order detail page, there is a table with order information ("order & account information" right nex to "account information" at the top of the ...
user avatar
  • 129
0 votes
1 answer
12 views

Magento 2 Add additional fiels to sales_order and pass addData before save

I am doing a custom order placement based on the API data I receive, I have to introduce the new column on the sales_order table whet I have to add them before order save using addData or setNewfield, ...
user avatar
  • 434
0 votes
0 answers
38 views

how can I store custom option sku and price into sales_order_item?

I'm facing a situation where I need to retrieve the custom option sku and price from a sales order item with custom options. However it seems magento is only storing the custom option id and not the ...
user avatar
  • 521
0 votes
0 answers
26 views

Magento 2.4 adding select option with custom div in to sales_order_grid

How to add select option with custom div in to sales_order_grid I need to add that HTML in left of per page value. Can anyone please suggest any post or any suggested link to add these value. Any ...
user avatar
  • 526
0 votes
0 answers
17 views

How to remove tracking popwindow in Myorder magento2

How to remove the popupwindow of track the shipment.I wanted to show, When user click the trackshipment link then redirect to the trackinglink of the carrier.
user avatar
  • 1
0 votes
1 answer
27 views

Order Sync in Netsuite Magento 2.4.2-p1 EE

I want sync new created order in Netsuite ERP system. I followed this Link but i am facing Error Error :- You must enter at least one line item for this transaction. Thank you.
user avatar
  • 5,586
0 votes
0 answers
17 views

Additional Field on Shopping cart page

I would like to add an additional field on shopping cart page called "Order Reference". I have experience with adding on checkout page, however this is specifically for shopping cart page. ...
user avatar
  • 3,554
0 votes
1 answer
124 views

How to sync custom columns from sales_order to sales_order_grid in magento 2?

I create 2 custom columns in sales_order table and sales_order_grid tables. As far as I know columns will be sync by cron job if name of both tables are same. So I run a cron but data from sales_order ...
user avatar
0 votes
2 answers
29 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 ...
user avatar
0 votes
0 answers
32 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 ...
user avatar
0 votes
0 answers
35 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?
user avatar
  • 892
0 votes
3 answers
96 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 ...
user avatar
0 votes
1 answer
33 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&...
user avatar
  • 828
0 votes
1 answer
52 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
user avatar
0 votes
0 answers
22 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?
user avatar
  • 121
0 votes
1 answer
48 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('...
user avatar
0 votes
0 answers
29 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 ...
user avatar
  • 3,049
1 vote
0 answers
14 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
user avatar
0 votes
1 answer
29 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"> &...
user avatar
0 votes
2 answers
56 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 ...
user avatar
0 votes
0 answers
18 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->...
user avatar
0 votes
2 answers
93 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 ...
user avatar
0 votes
2 answers
107 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 ...
user avatar
  • 121
0 votes
0 answers
13 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 ...
user avatar
  • 1,083
0 votes
1 answer
28 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
user avatar
  • 1,083
0 votes
0 answers
50 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\...
user avatar
  • 1
0 votes
1 answer
77 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 ...
user avatar
0 votes
1 answer
92 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 ...
user avatar
0 votes
1 answer
45 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.
user avatar
0 votes
0 answers
71 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....
user avatar
  • 1,128
1 vote
0 answers
331 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 ...
user avatar
  • 11
0 votes
0 answers
25 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 ...
user avatar
  • 147
0 votes
0 answers
30 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 ...
user avatar
0 votes
1 answer
71 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 ...
user avatar
0 votes
0 answers
79 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 ...
user avatar
  • 15
0 votes
0 answers
36 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="...
user avatar
  • 526
1 vote
0 answers
58 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. ...
user avatar

1
2 3 4 5
28