Questions tagged [sales-order]
Denotes questions related to Magento Sales module's order functionality.
1,381
questions
0
votes
1
answer
37
views
Adminhtml sales order payment information section in magento 2.4.6
Adminhtml sales order payment information section add custom filed custom payment thorw how to do i try this way but it not working
code working but Payment information sction not show
...
0
votes
2
answers
41
views
General search bar in customer order grid on frontend
We would like to create a general search bar at the customer order grid on frontend.
So customers can search within the placed orders for "order_id" and "sku". We already achieved ...
0
votes
0
answers
9
views
How to get Ngenius Order Reference located in Magento 2 Ngenius Reports Using REST API or Custom Module?
We are using Ngenius Online Payment for our Magento 2.3.5 and after placing orders via Ngenius, we can see the order reference id and payment id in Ngenius Reports in Reports -> Sales -> Ngenius ...
0
votes
1
answer
35
views
when i open the admin panel of magento, then sales>order, then i get the following issue
Issue:
Item (Magento\Framework\View\Element\UiComponent\DataProvider\Document) with the same ID "944" already exists.
Exception in /var/www/html/protecta/vendor/magento/framework/Data/...
0
votes
2
answers
51
views
Get customer address attribute value in order data using REST
I have a Adobe commerce cloud platform and created one customer address attribute from the admin that is default feature of the Commerce cloud.
Now it works fine. It works well on the customer account ...
0
votes
2
answers
27
views
Magento 2.4: Save item option value in cart and retrieve it in order success
I have created a button for each product in the cart. Now I want to get the uploaded file URLs of each product from the cart and retrieve it in an email on order success.
My controller:
<?php
...
0
votes
1
answer
118
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 ...
0
votes
1
answer
42
views
Magento 2 : when i am trying to use GetSalableQuantityDataBySku it will give me an error
I am new in magento. When I am trying to use GetSalableQuantityDataBySku" does not exist
magento throw me an error below error
i am use
event which i use : <event name="...
0
votes
1
answer
72
views
Magento 2 : Reorder Throw Exception
After successful purchase in the order details page when i click reorder option it throw below exception
TypeError: Magento\Framework\DataObject::__construct(): Argument #1
($data) must be of type ...
0
votes
0
answers
7
views
If Payment failed will there be any record in the sales order
If I place an order and payment gateway returns with error, will the record of order be added in the relevent order table
0
votes
1
answer
42
views
magento 2.4.2 add custom attribute in order api only
On my magento, I've created a custom attribute for the order and a custom attribute for the order items. In order to show these on the order api, I've placed my two attributes in an ...
0
votes
1
answer
40
views
Magento 2 update custom column value in sales_order table in a controller file
I have created "custom_column" in "sales_order" table and save the data using event observer.After some actions on that order again I need to change the value of my "...
0
votes
3
answers
79
views
How to change order export file name Magento 2?
I need to change order report export file name "export.csv" to "custom.csv"
0
votes
0
answers
30
views
Magento2: Insert order grid data into a custom table using the sales_order_save_after event
I have created an observer with this event file.
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Event/etc/events....
0
votes
0
answers
19
views
SQL for getting promos applied to an order
I require an SQL query to retrieve information about the promotions applied to an order from the sales order table. The field "applied_rule_ids" is utilized to obtain all rule IDs. However, ...
0
votes
1
answer
61
views
Magento 2 - How to add data from a field in sales-order-item table to the order items in order confirmation email
I have a custom input field on each product item in the cart. The value is added to the sales-order-item table. The field is exposed to the order api as a custom attribute. I want to add the value of ...
1
vote
0
answers
249
views
Magento 2 Add Custom attribute value on customer order graphql
I have created two extensions and it's an add fee on Order Total.
Now on adding this fee to Get CustomerOrder Graphql so, we override the default Magento Get CustomerOrder Graphql and it's working.
...
0
votes
0
answers
35
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 ...
0
votes
1
answer
99
views
Magento 2 after programetically cancel the order stock restored but item showing as out of stock message in reorder process
I am facing a problem with resume order process.when customer click resume order I am cancelling the order programatically and creating new order with the same qty. In this process the stock is ...
0
votes
0
answers
31
views
Updating a custom field added in edit customer shipping address
I have a custom field added for my customer address :
\Magento\Customer\Setup\CustomerSetupFactory $customerSetupFactory;
public function upgrade(ModuleDataSetupInterface $setup, ...
0
votes
1
answer
25
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();
$...
0
votes
1
answer
70
views
I want to place magento order using custom script using order Management interface but it's give error of invalid email format
I want to place magento order using custom script using order Management interface but it's give error of invalid email format.
`<?php
use Magento\Framework\App\Bootstrap;
use Magento\Sales\Api\...
1
vote
1
answer
142
views
Add a row count to the order sales view items table - Magento 2.4
We want to add a row count in the order sales view items table.
So that we can see and define the rows, to make it more easy to manage the order.
We already tried $block->getItem()->getId() for ...
0
votes
2
answers
2k
views
Add Custom Field for creating new order from admin in Magento 2.4
I want to add new field while we create new order from the Magento admin. So, any one has any reference for this ?
0
votes
0
answers
117
views
Why are my PayPal payments in Magento 2 showing as "pending"?
We are facing Paypal pending payment issues. These issues are not occurring for all the orders. 50% of orders are going pending and 50% of orders are going to successful payment by Paypal.
0
votes
0
answers
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 ...
0
votes
1
answer
86
views
In sales order grid shipping addess in i getting error can i know how solve this error magento 2?
like this in shipping address First Name
{{if this.getTemplateFilter().filter(dummy)}}{{/if}}
0
votes
1
answer
416
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 ...
0
votes
0
answers
42
views
How to apply cart price rules for new customers in a customer group immediately after they are added?
When a customer is added to customer group, the customer group's cart price rules for new customer are only applied after the customer has completed their first order. How can I override this ...
2
votes
0
answers
173
views
How to add a custom order field to checkout?
I'm looking for the best (i.e. recommended) way to add a custom order field in the billing step of the checkout page.
Requirements
In particular, I'd like to add a fast delivery option. If the ...
0
votes
1
answer
61
views
Magento 2: How we can hide duplicate coupon details (label and amount) from order invoice pdf?
I want to hide cart price rule applied coupon code details (Label and amount) from order invoice pdf:
I tried to hide this by applying condition on label wise but It's not working and it's failing ...
0
votes
1
answer
2k
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 ...
0
votes
1
answer
43
views
How to send the separate orderconfirmation mail for admin and customer
I created a custom module to send the separate mail for admin and customer but its not working.could you please suggest me regarding this so i can proceed forward.
0
votes
1
answer
766
views
magento 2 - list sales order status all events
I search for all events used for sales order status.
sales_order status events
magento 2.4.4
0
votes
1
answer
368
views
Add Custom Link to Sales Order View Admin Panel
How can I add a custom link to 'sales/order/view/order_id/123456' adding an slash after the order_id with route name "download" so it becomes
sales/order/view/order_id/6710/download
My ...
0
votes
0
answers
1k
views
Magento 2 Mysql message queue not consuming the request
I am using Magento 2.4 cloud. I've created a mysql asynchronous queue for order processing by following the link below.
https://erfanimani.com/using-magento-2-mysql-queue-for-order-post-processing
...
0
votes
1
answer
143
views
Magento2 product_options field into the sales_order_itmes table
Does anyone know why, sometimes, into the table sales_order_itmes, I see rows that has product_options fields like this:
{
"info_buyRequest": {
"uenc": "...
0
votes
1
answer
891
views
Adding an Extension Attribute to Sales Order Items - Magento 2
I have created some custom attributes for products and using these attributes in order view in customer account orders section. I have deleted few products. When I view the customer orders, it gives ...
0
votes
1
answer
138
views
Admin can’t create order/reorder magento 2.4.5
Magento 2.4.5 issue where an Admin user can’t create orders nor reorders for customers.
report.CRITICAL: Error: Call to a member function getMethodInstance() on null in /app/vendor/paypal/module-...
0
votes
2
answers
237
views
Order Email test php file
How can I test order emails specifying order ID without sending me the email but with a .php file that I call up in the browser?
0
votes
2
answers
32
views
Original Price of child product in order Email
I want the original child price in the below file.
app\design\frontend\MyVendor\MyTheme\Magento_Sales\templates\email\items\order\default.phtml
I try $block->getBasePrice($_item) or only $block-&...
2
votes
0
answers
43
views
What information is needed for this JustUno embed code?
I am completely new to Magento 2 and programming in general. I am trying to integrate JustUno with Magento 2 and there is a script I can embed on the success page to track conversions. Below is the ...
0
votes
0
answers
36
views
How I can Change Order status like: Order accepted, order out for delivery, Order delivered? frontend(seller)
I can Change a form submit in frontend .For Example ->
<form method="post" action="#">
<select>
<option value="pending">Pending</option>
...
0
votes
4
answers
420
views
Different Order ID Prefix Based on Customer Group
Is there a way to update the Order ID prefix based on the user's customer group? E.G. wholesale customer starts with 2 while retail starts with 1.
0
votes
1
answer
32
views
Code changed on Emails templates
I'm working on a website that is upgraded to Magento2.4.4, now getting errors on emails (missing customer and shipping details, etc). After testing found that changing variables like customer_name=$...
0
votes
3
answers
484
views
How to get order count month wise?
I need to get order collection of this year where I have to display month wise order count. I am working on phtml file. I have to display how many orders in every month are placed.
Like for example ...
0
votes
1
answer
41
views
I am new in magento! :: I have task to add a custom field('is_vip') in order columns. please help me?
Programatically, add a custom field('is_vip') in order. If a customer order value over $150 , the field value will be 1 and in order grid it will show yes.
2
votes
1
answer
79
views
How to get products for each order from admin Panel?
I wanna get the CSV of all the invoices along with the items ordered in each invoice. Is there a way to get it from admin panel. I dont have access to the code.
1
vote
1
answer
381
views
Prevent duplicate Billing address creation in cutsomer_address_entity after customer checkout
I have noticed one thing. When placing an order from customer side, each time, the default billing address is duplicating in the customer_address_entity table.
I couldn't figure out where exactly the ...
1
vote
1
answer
276
views
File upload from order view page from admin
<div class="admin__field-control">
<input type="file" name="upload_custom_file" id="upload_custom_file" title="Upload Custom File" ...