Skip to main content
Share Your Experience: Take the 2024 Developer Survey

Questions tagged [orders]

Mark questions related to Magento orders

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

multi shipping order place using rest api in magento 2.4

I would like to know which APIs we need to use and the parameters required to place multiple orders as a guest customer. Thank you in advance for your assistance.
Kushal Dani's user avatar
  • 2,114
0 votes
1 answer
31 views

Magento2 | Change subject email of new order if condition is true

I created an observer that changes the email subject when I place a new order: This is the ChangeOrderEmailSubject.php file: <?php namespace Sales\OrderCust\Observer; use Magento\Framework\Event\...
Jackom's user avatar
  • 493
0 votes
1 answer
19 views

Magento 2 : Change 'Shipping & Handling' label while print the order

I want to change the Label from 'Shipping & Handling' to 'Shipping Charges' while printing the pdf after order success. Can anyone help Thanks
JAYASHREE N's user avatar
0 votes
0 answers
15 views

Magento 2 : Configure Free Shipping Based on Subtotal Instead of Order Total

I enabled the free shipping method in Store > Configuration > Sales > Free Shipping. However, it is currently applied based on the order total instead of the subtotal.
ARUL.K's user avatar
  • 3
0 votes
2 answers
40 views

Magento 2 : Spam Order Getting Placed

I have a simple store running on Magento 2.4.6 p2, with guest checkout disabled. I have added Google captcha on registration as well as login form. Still, once in a while, I receive spam orders like ...
Aniruddha Ray's user avatar
0 votes
1 answer
24 views

Magento 2 : How To Find Magento Tax Setting

How to find the order is inclusive of tax or exclusive of tax through REST API?
Manisha G's user avatar
0 votes
2 answers
25 views

Magento order notification

I want to retrieve order details whenever an order is placed or updated in Magento. Currently, I am working on integrating orders with CRM. Therefore, whenever an order is created or updated in ...
Manisha G's user avatar
-1 votes
1 answer
41 views

Magento 2 : Create event observer when order placed and updated [duplicate]

In Magento 2, How to create event and observer for the REST API when an order is placed or updated. Is this possible to create event and observer for REST API?. If not, could anyone provide me with ...
Manisha G's user avatar
0 votes
1 answer
31 views

Magento 2 : Add Customer Group to Order Email Template

I'm very new to Magento. I'm using Magento 2.4.6 and I want to add Customer Group to the New Order email template. We need some way to know what customer group belongs to because we do different ...
Pete's user avatar
  • 13
0 votes
1 answer
44 views

Magento 2 : Display Custom Reports on Sales Orders Page

I'm working on a Magento 2 project where I need to display custom reports under the order grid on the Sales Orders page. Specifically, I want to show the following fields: Total (totals sum) Subtotal ...
Nika Kiria's user avatar
0 votes
0 answers
22 views

Magento 2 : Pager not work in my custom collection

I have a custom collection for ordered products for a customer. $connection = $this->resourceConnection->getConnection(\Magento\Framework\App\ResourceConnection::DEFAULT_CONNECTION); $...
Mujahidh's user avatar
  • 2,793
1 vote
2 answers
30 views

Add Suffix to Order Number Programatically

Last year our Previous develepors added suffix to the order number. Example : If Order number is 10000001 , they added suffix like 10000001-23 as it was 2023 year. now we want to change to 24 from 23. ...
Baby in Magento's user avatar
0 votes
2 answers
21 views

Is there any event available for when customer side reorder button click?

I need to remove a product while reorder button clicked certain condition. For example if the product sku is 'ABCD' means, i need to remove it from adding cart and all other ordered product need to ...
ARUL.K's user avatar
  • 3
0 votes
0 answers
26 views

Magento 2 : Create Order programmatically, not working via cron

I try to create Order programmatically but that is not working via cron job. However I could create the order using custom controller. I'm getting below error : The PostFinance Checkout payment ...
poornima's user avatar
0 votes
1 answer
42 views

When creating an order via api, the salable quantity does not decrease

I am using the API /rest/V1/orders/create, but when creating an order, the saleable quantity does not decrease. (Magento ver. 2.4.6-p3 community edition) I am using this payload: { "...
Danilo Duarte's user avatar
0 votes
1 answer
53 views

How to change or overwrite order_id number in Magento store URL?

When viewing orders as customer order_id is visible in URL like this: /sales/order/view/order_id/20/ Is it possible to achieve that orders would be accessible by increment_id value instead? Otherwise ...
player's user avatar
  • 33
0 votes
1 answer
13 views

Create order for bundle product with custom Price as parent price Magento2 Programatically

I have a requirement in magento2.4.6 as we know when we create a order for bundle product order price is calculated based on child product price, Here i need to add a custom price for the Bundle ...
amith lal's user avatar
  • 790
0 votes
0 answers
25 views

how can get orders in magento 1 using rest api through postman

i have consumer key and secret and access token generated through https://mydomain/oauth/initiate oauth/initiate /oauth/token I'm trying to get orders using https://mydomain/api/rest/orders and ...
Ranjeet Singh's user avatar
0 votes
1 answer
83 views

how to create custom attribute for order using data-patch in magento 2.4.6?

how can we create custom order attribute programatically using data-patch in magento 2.4.6 ? I know how to create this customer attribute for order using install schema but currently I am using ...
shankar boss's user avatar
  • 1,453
0 votes
1 answer
37 views

Magento2: Unable to fetch the surcharge amount added by Fooman_Surcharge extension

Magento 2.4.6 I am trying to get an orders surcharge amount which was added by the Fooman Surcharge extension. In Magento 1 it worked with $order->getFoomanSurchargeAmount();, in Magento 2 it ...
user4095519's user avatar
0 votes
1 answer
100 views

How to get all orders with a specific SKU using the REST API?

I’m trying to figure out if a product was bought and when, but other than looping over all orders I don’t see how I can do that. I saw this question but I need to do it through the REST API. Any idea?
bfontaine's user avatar
  • 122
0 votes
0 answers
33 views

Magento 2 Mailchimp Guest customer fields are not sync on Mailchimp after order placed

Magento 2 Mailchimp Guest customer fields are not synced with Mailchimp after the order is placed. We are using Magento 2.4.5-p1 version and the Mailchimp version is 103.4.50 Except for Guest email ...
sumeet bajaj's user avatar
  • 1,296
0 votes
1 answer
23 views

Getting order extension attributes from Swissup Firecheckout?

I tried getting the checkout fields attributes which are included with the Swissup Firecheckout ... the developer said its possible with $order->getExtensionAttributes();. So I created some throw ...
user4095519's user avatar
0 votes
1 answer
54 views

Magento2: Create orders grid replica and add custom columns

I want to replicate the order grid, add custom columns in it and fetch that columns data from the API.
Rana Zain's user avatar
  • 658
0 votes
1 answer
191 views

magento 2.4.6 checkout not working

we have been getting following error in checkout page. error are coming after migration we are using lit-extension for data migration. In the console on checkout page I see following error Error : &...
mike cole's user avatar
0 votes
2 answers
92 views

magento creating order programmatically using Cron Jobs

I want to create an order programmatically using Cron jobs, the codes run perfectly but when creating the order i got 'Error: Type Error occurred when creating object: Magento\InventoryIndexer\Model\...
Adex's user avatar
  • 25
0 votes
1 answer
46 views

How to automatically add comment to comment history on order status change?

I've noticed that when an order goes from Pending to Processing there is no entry created in sales_order_status_history. This is a change from Magento 1, which kept a history entry for every status ...
Votrobeck's user avatar
1 vote
1 answer
53 views

Magento 2 Event or Plugin after order status update in admin

I want to perform some activity after order status update in magento 2 admin order
SURENDER SINGH's user avatar
0 votes
0 answers
33 views

Magento 1.9 / OpenMage: How To Merge Customers

My client has a requirement to merge customers in their Magento 1.9 (now migrated to OpenMage) store. On the surface, it seems pretty straightforward. What I Need To Achieve Choose the customer that ...
HenryHayes's user avatar
1 vote
2 answers
52 views

No Results in GET/V1/orders Request with filters

I'm facing an issue while using the Magento Commerce API. I'm trying to make a GET request to the /V1/orders endpoint with a filter on the created_at field to retrieve orders created after a specific ...
Hub's user avatar
  • 13
0 votes
0 answers
68 views

Magento 2: Create order programmatically using carrier containing underscore (PostNL)

I am unable to create an order programmatically with the carrier PostNL. The carrier code is "tig_postnl" and the method "regular". Normally I set the shipping address simply using:...
Tober's user avatar
  • 23
-1 votes
3 answers
90 views

Magento 2 Order collection filter by product set id

In Magento 2, I need to get order collection filter by date range and product set id. I tried this way, not worked.
Saravanan DS's user avatar
  • 1,126
0 votes
1 answer
40 views

REST API - probe error

how to get orders that are older than 1 hour from the current time. When I type NOW() -60, I get an internal error, log file never existed.
David Novák's user avatar
0 votes
1 answer
24 views

How to get ordered product CGST, SGST & IGST from order in magento 2

how to get this amount? I try - foreach ($_order->getAllVisibleItems() as $item) { $productId = $item->getProductId(); $productName = $item->getName(); $productSku = $item->getSku(); $...
Rubel Parvaz's user avatar
0 votes
0 answers
194 views

Magento 2 How to update quote totals information from admin

Magento 2.4.5-p1 version using. We want to give custom discount via our custom module Using this code - <?php namespace Namespce\Modulename\Controller\Adminhtml\Quote; use Magento\Backend\App\...
sumeet bajaj's user avatar
  • 1,296
0 votes
1 answer
45 views

Get customer orders excluding ones with a specific order item

I want to retrieve all customer orders' except the ones that have a specific item (walle product) Currently, I get all orders that have the item and then filter them from orderCollection $...
AmooAti's user avatar
  • 113
0 votes
1 answer
60 views

Upload file (invoice) to existing order

Is it possible to add an externally generated invoice to an existing order record? The scenario is as follows: A company receives orders via a Magento 2.4 online shop. The orders are further processed ...
Pixelrocker's user avatar
0 votes
0 answers
120 views

Magento 2: How to check if order is not created but payment is deducted

I have a situation on which sometimes deadlock occurs during order place. But the order is not getting placed and order payment is done successfully. So to overcome that issue, I am using ...
Arun Sharma's user avatar
  • 1,315
0 votes
0 answers
11 views

Magento 2.3 set up an order in the admin panel that generates an order based on partial quantity & backorder on the amount not in stock

In Magento 2.3 admin panel, can I set up an order that generates an order based on partial quantity & backorder on the amount not in-stock for the same item? It should include an item that can be ...
user14396's user avatar
0 votes
1 answer
60 views

How to move orders from Magento 1.9.4 to Magento 2.4.5-p1?

How on Earth am I meant to move orders from Magento 1.9.4 to Magento 2.4.5-p1? Someone suggested the 'Improved Import & Export for Magento 2': https://firebearstudio.com/the-improved-import.html I'...
Allysin's user avatar
  • 260
1 vote
1 answer
75 views

Update increment pad length in orders to remove leading zero's

I'm looking for the most up to date and most recommended way to update increment_pad_length I've seen many posts about direct with sql statements and other with di.xml eg: <?xml version="1.0&...
Juliano Vargas's user avatar
0 votes
0 answers
105 views

Magento 2 - prevent the 1205 Lock wait timeout exceeded issue?

Does any have any idea to prevent the 1205 Lock wait timeout exceeded issue? main.CRITICAL: Saving order 0002347423 failed: SQLSTATE[HY000]: General error: 1205 Lock wait timeout exceeded; try ...
MK Patel's user avatar
  • 422
0 votes
1 answer
1k views

Magento 2 add custom fields to order create in admin area

How to add custom input and drop-downs order create in admin sales order creation. I want to add custom field hopefully a new section where when we create a custom order through admin only we can pass ...
jibin george's user avatar
0 votes
2 answers
85 views

Rewrite Reorder controller in Magento 2.3

I want to rewrite Reorder controller from \Magento\Sales\Controller\AbstractController\Reorder. In di.xml I put <preference for = "Magento\Sales\Controller\AbstractController\Reorder" ...
Andrew's user avatar
  • 15
0 votes
1 answer
125 views

add custom order status to orders grid bulk actions in Magento 2.4.5

How to add more order statuses to orders grid bulk actions drop down to update one or more orders status at a time by selecting the check box of orders.
shankar boss's user avatar
  • 1,453
0 votes
1 answer
326 views

magento 2 credit memo set "quantity to refund" column value as 0 by default

i want to set "Qty to refund" column value as 0 by default and then i will update qty for only those product which i want to refund. i tried to set value as 0 but after that the "Update ...
quickshiftin's user avatar
0 votes
1 answer
267 views

Magento 2 admin order creation error is "Pickup Location Address does not match Shipping Address for In-Store Pickup Quote"

When I try to create an "in-store pickup order" for a customer from magento 2.4.5 admin I am getting this error "Pickup Location Address does not match Shipping Address for In-Store ...
shankar boss's user avatar
  • 1,453
0 votes
2 answers
63 views

Error trying to GET all orders

I am getting the error below trying to get all orders using get('rest/V1/orders?searchCriteria'); I am using Access Token and my integration has access to ALL API. { "messages": { ...
tess's user avatar
  • 1
0 votes
1 answer
1k views

Laminas\Mail\Protocol\Exception\RuntimeException "Authentication Failed"

I'm order the product and proceed to checkout then show the error. I'm use the "zoho credentials" after that i remove the "zoho credentials". and use the gmail Own smtp but still ...
Mohit Thakur's user avatar
0 votes
1 answer
411 views

How can I validate the custom rule condition on custom module in Magento 2

Here I Create custom rule condition for custom module in magento 2 now i need to check that all rule at order place time I create event "sales_order_place_after" in that the rule condition ...
Jay Parmar's user avatar

1
2 3 4 5
46