Questions tagged [orders]

Mark questions related to Magento orders

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

How to find WHICH user account changed Order Status in Magento 2

I have a Magento2 store with multiple logistics staff members working on the same Orders list and Verifying, Cancelling, or Processing orders by changing their status I want to find which user account ...
0
votes
1answer
29 views

Magento 2 REST APIs fetch results by store code

When i am trying to fetch the orders, & customers & products collection by using store code I am getting another store results aswell. Did any one facing the issue in the magento 2.4 version? ...
0
votes
0answers
80 views
+50

Magento 2: How to show multiple discount coupon code separately in backend while creating order (order totals)

I using Magento 2.4.2. In the front end, After applying the multiple discount coupon, It will show you both coupon code separately which is fine, as shown in the below screenshot, In the backend, ...
0
votes
1answer
19 views

How to exclude certain SKU to be calculated in Minimum Order Amount

I'm currently using the native M2 Minimum Order Amount module. I want to add to my store some products, but I don't want them to be consider during minimum order amount calculation. ...
1
vote
2answers
27 views

New Order Send custom email template in Magento 2.4

I have two condition :- First if customer is not approve send custom email template. Second if customer is approve send magento default email template. How can i achieve this. THANKS.
0
votes
1answer
18 views

magento2 add simple product to order

I want add surprise functionality so when custom try to place an order, one simple product will get automatically added to their cart. I want to add that item after customer click on place order ...
0
votes
1answer
15 views

Get order product item count in order success page - Magento 2

I want get number of product order in order success page. This found solution magento 1.9 visit Get ordered product count in magento <?php $_order = $this->getOrder() ?> <?php echo $_order-...
0
votes
1answer
13 views

gift-message attribute not appearing in REST API Orders response after setting it on Cart

I am developing a headless Magento backend using REST/Graphql on the frontend. After enabling the Gift Message module in admin, I set correctly set the Cart gift-message like so: http://localhost/...
1
vote
1answer
20 views

Security issue ? User with restricted scope can access ALL orders on a multiwebsite setup

Using Magento Cloud EE here but this issue might be the same on CE I'm not sure. Create user foo Create role test Assign foo to test Restrict website scope for test to www.website1.com only Login ...
0
votes
0answers
16 views

I want to add “per meter” in specific product pages

I want to sell this product according to length (i.e per meter or feet). I've tried a few extensions but they were not very useful. I just want to add the per meter or per feet feature for user so the ...
1
vote
2answers
39 views

How to set shipping tax on rate

I have a method with create a shipping rate, but I need to add shipping tax on this specific rate, how can i do this? My class: $method = $this->rateMethodFactory->create(); $method->...
0
votes
0answers
18 views

Correct way to update Order

since load and save methods are deprecated, which should be the correct way to update an order, for example: Lets say we have a cron running that gets a collection and then u do something like foreach ...
0
votes
3answers
42 views

How to use After order place event in Magento 2

After order place get customer attribute value and set order status in Magento 2. Thanks.
0
votes
0answers
12 views

How to develop custom report module for orders filter by category in magento 2

I want to develop custom module in which i can filter sales order details filtered by category id. I am serching for solution but i can't find any solution please help me. Thank you in Advance.
0
votes
0answers
15 views

Expected Shipping Date - Is it possible to get from magento 2 ? If yes then which table?

Is it possible to get the expected shipping date to get it from some magento table. I need to show this information in my invoice. Which table shows this information. Shipped by: FedEx Expected by: 2-...
0
votes
0answers
25 views

Import orders from Magento 1 to Magento 2 live website

I have a Magento 2 shop in live and another shop in Magento 1. I'm preparing the migration of Magento 1 shop to Magento 2 in another website, so I will have 2 websites in Magento 2. How can I migrate ...
1
vote
2answers
41 views

Magento 2 error : Registry key “current_creditmemo” already exists

I am getting this error by programmatically creating credit memo. any thoughts why this error is appearing ?
0
votes
0answers
13 views

Magento 2.3 FedEx Customs Clearance is required

FedEx provided us a Production account but they pointed out they do not SUPPORT third-party extensions even if it's a built-in Magento FedEx extension. Shipping Rates are generated But we can't SHIP ...
0
votes
0answers
23 views

How to add a discount or apply a cart rule programmatically to quote in checkout_submit_before observer Magento 2

I want to apply some discounts amounts to the the quote, the observer I'm using is checkout_submit_before. There I have the access to the quote and order objects. How can I apply a cart rule or a ...
0
votes
0answers
21 views

Order Totals - Total Paid

Currently, orders that are being placed through Credit/Debit Card come through on Magento with the 'Total Due' field being populated. However, I would like the 'Total Paid' field to be populated ...
1
vote
1answer
24 views

How to prevent order while placing order?

I want to prevent order on checkout page. With the use of particular condition i need stop placing order. When i click on place order button , my order should not be place and should redirect to cart ...
0
votes
0answers
11 views

Magento 2 - Order Hold from frontend

From the Magento admin panel, user can update the status of an order to On Hold. Is there a way out for authorized admins to mark the order as hold from frontend. if ($order->canHold()) { $...
0
votes
2answers
68 views

How to create new quote programmatically from old order after place the order in magento 2

I want to create a new quote based on the old order. I can create order programmatically but not able to just add to cart product in a new quote. I don't want to place the order. Need is only add to ...
-1
votes
1answer
49 views

Magento 2 : No such entity with %fieldName

I am getting this error any thoughts, why this error appearing ? "message": "No such entity with %fieldName = %fieldValue", "parameters": { "fieldName&...
0
votes
1answer
37 views

Export csv of products sold

Hello I would like to obtain a csv file containing the list of products (Order ID, EAN code and quantity) present in the orders whose status is being processed. How to proceed ?
0
votes
0answers
6 views

Magento 2 Specific Order Status Condition based email send with bcc

I created custom order status "Order Accepted". The order is received after accept the order. I need only this order accepted condition send to BCC email admin and customer. This is not ...
0
votes
1answer
27 views

Magento 2: Create a custom order view page

In magento 2 is there any way to create same order view page in custom module? I want to create a custom order view page where I have to display some more data but not want to display on core (order ...
0
votes
1answer
17 views

Build Customer View URL on Controller

How can I programmatically build this url: http://127.0.0.1/magento2/sales/order/view/order_id/61/? Im in a custom controller with the current Order object.
0
votes
1answer
27 views

Magento 2 - How to display recent order on Homepage?

I know that the "recent orders" section is displayed on customer's dashboard. I am wondering if I can display this "recent orders" on the homepage as well? My website requires ...
0
votes
3answers
108 views

Magento 2 Place Order Programmatically Using Event Observer

Created a custom form where customer and product details filled with status of Active/Not active So for now I want to create an event and observer to place order programmatically when status is Active ...
0
votes
1answer
62 views

Magento 2 API Create Order As guest: {“message”:“\”%fieldName\“ is required. Enter and try again.”,“parameters”:{“fieldName”:“email”}}

0 I'm trying to place an order via Magento 2 API as a guest, following the guidance shown here: https://devdocs.magento.com/guides/v2.4/rest/tutorials/orders/order-create-order.html The end point I'm ...
0
votes
2answers
51 views

How to get the shipping address by order ID?

How to get the correct shipping address for an order ID? I am using Magento\Sales\Api\OrderRepositoryInterface to get the order information by order ID, but there are no methods for getting the ...
0
votes
1answer
13 views

Magento 2 how to get info_buyRequest in rest result rest/V1/orders/105"

Hi can any one tell me how to get addition information (info_buyrequest) in rest api result https://mainwebsite.com/index.php/rest/V1/orders/$order_id. but here not getting product options getting ...
0
votes
1answer
21 views

Magento 2: Admin order url

Does anyone know why the order id that appears in the url does not match the one that appears in the product?
0
votes
2answers
51 views

Changing & Adding items in checkout_index_index.xml

I'm trying to customize Order Summary in the sidebar. The module that I'm currently working on will modify the final total price and I need to display the additional price under Shipping. I've taken ...
1
vote
0answers
18 views

Magento 2 : How to Process Order Returns to Store Credit Manually?

How to process order returns to Store Credit using ? order_number product_sku return_qty Any thoughts how this can be achieved ? Any thoughts appreciated.
0
votes
1answer
21 views

Unable to save order in foreach

Here is my code i just want to update order column that are in collection in foreach i have tried model and modelfactory both to save but it sets Queued column but unable to save it anyone kindly help ...
0
votes
0answers
26 views

Magento2 Avalara Tax plugin issue with EE 2.3.3 version while placing an order

I have used following avalara tax module in Magento 2.3.3 EE version: https://marketplace.magento.com/avalara-avatax-magento.html i have configured all settings properly and taxes are also showing ...
0
votes
0answers
13 views

At what point in the payment process does M2.4 insert an order when using Paypal standard?

When does M2.4 insert order in order admin if using PayPal Standard? When I click on 'Place Order' from M2 checkout using PayPal Standard and I am taken to PayPal to pay.  Then I decide to not buy, so ...
0
votes
0answers
17 views

Magento2 Missing order status after order is placed

My orders are missing order status in admin Shipping is Store Pickup, Payment is VISA by secure pay How am I suppose to debug this?
0
votes
1answer
26 views

Add column and button magento 2

Is there any way to add a button and column at the backend order view items renderer? I have tried multiples solution but did not work. sales_order_view <?xml version="1.0"?> <...
0
votes
3answers
26 views

Magento 2 : Get ordered products in sales_order_after observer

Is their any way i can get the product names in sales_order_place_after observer ? I get the order object but not sure how to fetch the products. Any thoughts ?
1
vote
2answers
87 views

Magento 2 : Get total spent by customer

Is their any way we can get total amount that has been spend by customer in magento 2 ?
1
vote
1answer
42 views

How can you calculate the prices with 2 decimals, not with 4 decimals?

How can you set in Magento2 that all the calculations you make on orders, invoices, price rules,…, to be done with 2 decimals not with 4 decimals? Attention, I mean the calculation of prices and not ...
2
votes
1answer
46 views

Magento 2.4 How to activate the auto refresh for orders, so when customer place order directly it appear in the orders grid with out manual refresh?

How to activate the auto refresh for orders, so when customer place order directly it appear in the orders grid (Order management - Admin backend) with out manual refresh?
0
votes
0answers
25 views

Magento2: Apply taxes to existing orders

Customers created a lot of orders before client set up taxes. Now the client has wrong tax values in reports for that period. So I'm wondering has anybody ever recalculated all the existing orders ...
0
votes
1answer
48 views

Magento2.3 - Programmatically setting order status to On Hold getting stuck

I have an observer in my module the fires when the order is placed, depending on a condition I use $order->setState(\Magento\Sales\Model\Order::STATE_HOLDED, true)->save(); $order->setStatus(\...
0
votes
0answers
22 views

Magento 2 How to change the Tracking Information Shipment # to Order # in Tracking Popup

The tracking popup shows shipment # and I want to change it to the order number. I have found this answer for Magento 1: $_order = Mage::getModel('sales/order')->load($this->getOrderId()); But ...
0
votes
0answers
28 views

How to override getList in orders API endpoint?

I need to implement my own logic in the API endpoint which is responsible for getting all pending orders (/rest/V1/orders?searchCriteria[filter_groups][0]...). I'm trying to do something like if(...) {...
0
votes
0answers
10 views

Magento Ship Order Missing

On an order, there was an error when pressing the "ship" button. No shipment was created, yet the order went to complete status. The order was reverted to "Processing" but there is ...

1
2 3 4 5
44