Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [orders]

Mark questions related to Magento orders

0
votes
0answers
11 views

Programmatically creating an order: How to add custom options to products in quote?

I'm trying to create an order programmatically. With simple products without custom options it already works like a charm. But when I try to add custom options I get the very specific error: We ...
0
votes
1answer
21 views

Can we manage products filtration by category wise in Magento 2 admin panel

How can I manage the order of products by using category wise instead of SKU name etc..?
0
votes
0answers
17 views

New Japanese order missing, but showing in Customer account

Customer places order in Magento 1.9.4 and continues though the checkout to the payment gateway. The customer can see the order in his account afterwards. However the order does not show in the Admin ...
0
votes
0answers
7 views

How to import CSV file programatically from another directory?

I am trying to import CSV file programmatically for orders. My files are located on another location of the same server... How to achieve this?
0
votes
0answers
7 views

How can we retain the invoice number same as previous when we update order details in magento?

We have Magento 2.2.6 version and installed mageworx order edit extension on top of it. We are trying to implement the logic to retain invoice number even if we update the order details.
0
votes
0answers
12 views

Magento 2.2.7 SalesOrderAfterPlaceObserver not found Amasty error when creating order

Preconditions (*) Magento 2.2.7 Using MAMP Pro PHP 7.0.22 being used Steps to reproduce (*) Go to Admin --> Sales --> Orders -- > Create New Order Add a product, shipping/billing address. Expected ...
0
votes
1answer
16 views

Magento 2 - can't change the zip code in order

I have a very strange issue in Magento 2 orders. In some orders the first number in the zip code is removed automatically. For example 07716 will be 7716. So the zero was dropped. I try to edit the ...
0
votes
1answer
42 views

Export Order detail information

I found this code below to export order data from magento, but I also need the order detail information for each order as well. All I really need added to this is the Items Ordered with Product name &...
0
votes
1answer
19 views

How to customize order succes page url and add some order details

I want my order success page URL(checkout/onepage/success/) to be changed to order/?ORDERID And I need to display some order details in that success page. That should be shown even after the reload. ...
0
votes
1answer
22 views

Magento 2: Orders created without shipping address

So this is bit of a weird one. There were a couple of orders created in the shop I run, but there was no shipping address in them. When I tried to reorder from the backend, the shipping address ...
0
votes
0answers
21 views

In Magento 2, how to set custom grandtotal amount in order, invoice and credit memos

In Magento 2.2.5, I am using custom price in order total. It is displaying in the cart and checkout pages. But I need to set and display this custom price in everywhere like order, invoice and credit ...
1
vote
2answers
23 views

Order placed event

I use sales_order_save_commit_after for same change to shipment and after this i save new subtotal and grand total, it's worked very well for COD but when i wanna use to another online payment the ...
0
votes
0answers
23 views

How to update Sale Order Status in custom database Magento 2

I am taking an order from an observer. its current order status "pending" is displaying in my custom table but after the invoice is done.... the order status "processing" is not changed in my database ...
0
votes
0answers
19 views

Add option of custom shipping amount at the time of create new order from admin in magento 1.9

I am creating new order from a admin ,there found option to put custom price amount of product but . I want to put custom amount for shipping also . please help how to integrate this , or have any ...
3
votes
1answer
55 views

Customize Checkout Page And Remove Postal Code And Extra Fields

Hello Friends I Want to Customize My Checkout Page In Magento 2 and remove extra fields Zip/Postal Country Etc. I Using Magento 2.2.6 Version And My Theme Is Fastest. I alsoedited ...
1
vote
0answers
33 views

Magento 2 How to disable price from orders, customer account and order view if custom module is enabled?

I have created one module which has admin side configuration to enable/disable the module. Now I want to hide the prices from "orders, customer account, and order view ". Means I want to hide the ...
0
votes
2answers
55 views

Magento 2 How to hide price from front end with custom module?

I have created one module and it has system configuration on the admin side, where the admin has the functionality to enable/disable the module. As per system configuration, I need to hide the price ...
0
votes
1answer
29 views

Magento 2 How can i add BCC to order email with observer programatically?

I have created module and wrote one an observer on "order_place_after", here i want to send the same order email copy to my custom email address. How can i send the same order email to my custom ...
0
votes
0answers
22 views

How to change Print Order default 'date format' and to remove 'telephone underline' magento 2?

I am trying to change Print Order default 'date format' which is rendered on the first in Print Scrin Pages and 'telephone underlines' magento 2? In below print order first date is showing 12/...
1
vote
0answers
13 views

How to add Backorder in Customer account dashboard in magento 2.1?

I want to display backorder if any sku have backorder list. See below screenshot: For ITP7 SKU : ordered :1 shipped : 1 backordered : 0 For ITP1 SKU : ordered :1 shipped : 0 backordered : 1
0
votes
0answers
54 views

In Magento 2.1.1,Warning: Invalid argument supplied for foreach() in Product.php.

When I placed the order I get the below warning on the checkout page in the frontend. Warning: Invalid argument supplied for foreach() in /chroot/home/wsfdepot/wsfdepot.nextmp.net/html/vendor/...
0
votes
0answers
19 views

Order not placed in Server with Product price zero

Order not placed in Server with Product price zero. Whereas in local server order placed successfully. Only zero priced products are not getting placed in server. What might be the issue? Help me to ...
0
votes
1answer
19 views

No shipping method listed while editing order from admin in magento1.9

From admin when I go to Orders -> click on any order -> when opened, it has EDIT option -> add item and update items and Qty -> when u submit order than showing error "shipping method must be ...
0
votes
1answer
17 views

Magento 2 How to get custom field name 'location_id' aded to “customer_address_entity” at frontend, on order place after observer?

I have create one module which add 'location_id' in 'customer_address_entity' table. I also create one observer which called when order placed. Here i got the address id from order, Now i want to ...
1
vote
1answer
86 views

Issue with Authorized.net with Magento2.2.5

I am using Magento2.2.5 and payment gateway on my site is Authorized.net I created a sandbox account of Authorized.net and put the required information in the admin panel. Having Following issues: ...
0
votes
1answer
40 views

magento 2 collect totals for order like quote

Is there any function to collect total like quote for orders ? or any way for this $quote->collectTotals()
0
votes
1answer
23 views

Magento 2 How to send order email copy to custom email address with custom module when order placed?

I have one module where i can set email address in back end. When order placed i want to send that order email copy to my custom email address which is set in backend. I want to add an observer when ...
0
votes
1answer
7 views

Magento 1.7 Correct the US spelling of cheque on invoice

I need to correct the US spelling of check to the correct English spelling 'cheque' on the invoice generated by Magento. Ive changed the payment method name and it all looks ok within the Magento ...
0
votes
1answer
25 views

Duplicate Order Creation in Magento 1.9.1.0

I am getting an issue with Paypal standard for few customers. When payment received there are two orders logged in magento. Both of which go into payment pending status and then subsequently one is ...
0
votes
0answers
29 views

Paypal, We can't place the order error- Magento 2

I am getting "We can't place the order error" error in paypal/express/review/ page, while placing order. It is not even throwing any error in system.log file. Please help me to fix this issue!
0
votes
0answers
12 views

Prevent refund/cancel/… programmatically?

How to prevent order cancellation / credit memos / ... programmatically? I've found out that there are events like sales_order_payment_cancel. I can create observers for these events - but how to "...
0
votes
1answer
100 views

Magento 2 order status not changing?

We installed and configured Auctane_Api (2.0.18) ship-station module to magento2 Whenever we placed the orders those information populated at ship-station portal successfully. After processed shipment ...
0
votes
2answers
50 views

How to Filter Order History on Customer Account?

I have added a Column on Order Table is_hidden, If an Order is set is_hidden = 1 then I want to hide that order from Customer Order List in Customer Account on Frontend. How can I add aditional ...
0
votes
0answers
21 views

CREATING CUSTOM FIELDS USING MAGENTO 2 UI COMPONENTS on chekcout page

I have one issue like i need to add custom fields for specific shipping method i fallowed reference link enter link description here I was able to add in front end checkout page in same i need admin ...
1
vote
0answers
20 views

How to speed up creating orders programmatically in Magento 2?

I have a script that creates orders in Magento 2. <?php /** * ExtendedRma Helper */ namespace Company\Module\Helper; class CreateOrder extends \Magento\Framework\App\Helper\AbstractHelper { ...
1
vote
1answer
40 views

Add order comments to invoice/shipment pdf

Files controling invoice/shipment order pdf content are the following: vendor/magento/module-sales/Model/Order/Pdf/Invoice.php vendor/magento/module-sales/Model/Order/Pdf/Invoice.php Is it possible ...
0
votes
0answers
32 views

SQLSTATE[23000]: Integrity constraint violation: 1452 Cannot add or update a child row:a foreign key while placing new order from admin panel

I am getting below error while placing new order from admin panel SQLSTATE[23000]: Integrity constraint violation: 1452 Cannot add or update a child row: a foreign key constraint fails (...
0
votes
0answers
26 views

Get order id and product id while order placed using Observer | Magento 2

Hi i need to get the order id and product id while order is generated in magento2 <?xml version="1.0"?> <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:...
1
vote
0answers
51 views

Magento 2 Where ship-station (shipping charge) details will save at magento side?

I have installed and configured Auctane_Api ship-station module to magento2. Whenever I placed the orders those information populated at ship-station portal successfully. After processed shipment ...
1
vote
0answers
33 views

Duplicate order confirmation mail

Thanks for providing solution. I have apply same solution in one of my site along with I have follow all your steps. But it still send two confirmation mailto both admin and customers. My magento ...
0
votes
0answers
55 views

Magento 2 getting error on checkout page after place order gateway timeout and loader continue spinning

I am using Magento version 2.2.0 PHP version is 7.0.32 I am using following default payment methods of Magento 2 : bank transfer check/money order when I am placing the order checkout doesn't ...
2
votes
1answer
30 views

How to get the orders above the order id and How to use the limit in magento 2

I need to write code to get next 10 orders above the given order id. <?php namespace Learning\GreetingMessage\Controller\Index; use Magento\Framework\Controller\ResultFactory; use Magento\...
0
votes
0answers
34 views

Issue with subtotal when calcuate tax for credit memo adjustment refund

I am using Magento1.9.2.4, And want tax for adjustment refund as well that given in credit memo module. I followed this link's one of the solutions to achieve this: Is it possible to refund tax on a ...
1
vote
0answers
17 views

Duplicate Magento order number

A customer made a order but he got that same order number was already created in magento , so his order number was not imported in magento and was not sent to paypal . After a research on magento ...
0
votes
0answers
26 views

Razorpay Error: CURL_ERROR: in magento 1.9

I am using Razorpay payment method in magento 1.9 for credit/debit card. But I am getting an error when placing order: Razorpay Error: CURL_ERROR: An error occurred in the process of payment. ...
0
votes
1answer
57 views

Order Repository save not working

I am trying to associate orders and customer using the following code. $order = $this->orderRepo->get($oid); $order->setCustomerId($newCustomer->getId()); $order->setCustomerIsGuest(0);...
0
votes
0answers
23 views

Magento 2.25 customer and order migration Mismatch of entities in the document

I've migrating Customer and Order from Magento 1.9.0.1 to Magento 2.2.5 version, for the Customer and Order migration I've reviewed the following post and implemented in my local. How to migrate only ...
0
votes
1answer
58 views

How can i add a single gift for every order?

Hello I want to be able to give a product that I will have in the 2 magento with every purchase. So I would like that when adding a product I would automatically add it to the cart, but there could ...
0
votes
2answers
32 views

Entity is not initialized

I'm trying to build a function that gets orders of a customer by id but it gives me an exception: Entity is not initialized that's my code <?php namespace VendorName\Orders\Model\Orders; use ...
1
vote
1answer
25 views

How to download Invoice without login Magento Admin?

I need to get invoice without login Magento admin, is it possible using any CRM or API Services?