Questions tagged [edit-order]

The tag has no usage guidance.

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

How to edit order programmatically in magento2?

I want to edit order programmatically in magento2. How to do this. Thanks.
0
votes
0answers
16 views

Magento2 : get stock qty after edit order?

In edit the order, the previous order will be canceled state and then create a new order. How to get the stock qty for an item when canceling the order before placing a new order. How to get it. ...
2
votes
1answer
24 views

Save an order from admin without submitting - quotation

Can I save an order from admin without submitting? So without triggering the payment logics? I want to create an internal management of quotation that could then become orders. An idea is to not use ...
0
votes
0answers
5 views

Magento 2 In the admin panal order add or edit time when select the status than some text box show dynamic below the status

Actually, I need an order to add or edit time, when we select the order status than as per the status custom input text box shown below the select status. if u know than please tell me how to get ...
1
vote
0answers
14 views

Magento 2: Change Order's Store View

I have two Store Views defined: 'English' and 'Lithuanian'. Suppose that a customer makes an order in 'English' (default) Store View. If I printed the Invoice, it would be in English language. ...
0
votes
1answer
52 views

how to update Items Ordered order qty in magento 1

how to update order Items qty in admin panel? (magento 1.9)
0
votes
0answers
27 views

auto populate custom order filed value from old order in admin order edit process magento 2

I want to show my custom field to be populated automatically like the default magento fields gets populated in magento2 order edit process.How can I achieve this.
0
votes
0answers
34 views

magento 2 existing order edit

I want to edit an already existing order in magento 2.I am able to get the other data but the comment I have posted along with order is not populating in my edit order page.I need some suggestion to ...
0
votes
0answers
84 views

Getting error when open any order Exception occurred during order load in Magento 2.2.2

I am facing issue when click on view order link in admin. Exception occurred during order load How can I fix the issue? I am working on Magento 2.2.2
0
votes
1answer
203 views

Maganto 2 | Does guest customer Id exists ? if yes how can we get through Order collection or some other way?

I am getting guest customer Collection with: \Magento\Sales\Model\ResourceModel\Order\CollectionFactory $orderCollectionFactory as: public function getGuestOrderCollection() { $...
0
votes
2answers
248 views

Magento 2 Can't submit custom form with custom controller-action in admin order detail page

I am creating custom form in admin order detail page with form action as like below but it's redirecting to Dashboard from my action with 302. My script is: sales_order_view.xml <?xml version="1....
1
vote
0answers
123 views

Force Order Completion

We have the following scenario to handle: A customer orders a certain quantity of an item (let's say 20) to pick up in a specific store. Since we don't have live store inventories, there might be a ...
0
votes
1answer
31 views

magento 1.9 On Oder Page issue

In admin panel on the particular order page (below of page) I have seen this messages mentioned in the screenshot. How can I fix this issue?
2
votes
2answers
348 views

Get edit order id magento 2 admin

I have to get order id in admin edit order? I have tried to get order id from quote but the order creating new so that I don't fetch order id. Is there any way to get order id in admin edit order? $...
0
votes
1answer
233 views

Manage Order “Credit Memo” Error in Magento 2.2.1

I use Magento 2.2.1 I get this error after a customer places an order and i click on "Credit Memo" at Sales-> Orders-> view(or click on an order) -> Credit Memo 1 exception(s): Exception #0 (...
0
votes
1answer
259 views

Set product stock quantity after uncancelling order

I have a module to uncancel orders. The problem is that when I uncancel an order, the stock quantity is not decreasing for the amount of items ordered. I have the line of code that set order back to ...
4
votes
5answers
2k views

Magento 2: How to edit existing Order without cancel?

I am trying to edit Order that includes the below possible cases: Update Order Item Price Increse Order Item Qty Or Cancel Order Item Qty Add New Item into Order For Adding new Item in Order, I am ...
0
votes
0answers
356 views

Editing Order instead of creating a new Order

I'm working on a marketplace (multiple sellers). My client has a requirement, where he wants to edit an order and update the items in an order. I tried my best to convince him that instead of editing ...
1
vote
1answer
822 views

Admin Form not submit redirected to dashboard page

I have created a small module to add new tab on order view page. right now tab is showing a static phtml file with a form in it: <?php class ...
4
votes
1answer
204 views

how to add product size in proper order?

I have added the product size randomly and the result was, the numbers added last was shown at the end even if it is smaller than the above size: I have also changed the position in admin panel: ...
2
votes
0answers
178 views

How can i duplicate order by quote? [closed]

I need duplicate order, I know i will need convert old order to qoute but i cant convert quote to new order.
1
vote
1answer
1k views

How to update order item product options after order placed?

I am trying to change my order item custom options after order placed but it overwrite exitsting data and set only value that i did set previously. https://www.screencast.com/t/Y99dQ1D4 My code. ...
2
votes
0answers
127 views

Changing the selected order status in the order comments section

When commenting on an order, you can also change the order status at the same time. For some orders, the drop-down does not have the current order status selected by default, so it's easy(due to ...
0
votes
1answer
787 views

Magento how to update billing/shipping order before place order for guest

Magento how to update billing/shipping order before place order for guest. I know what observer event I need to use and familiar with it. What I want to know is how to get billing/shipping or and ...
1
vote
1answer
436 views

How Can I Edit Order Without Create As New Order

I need to edit order without create same order as new order. How can i do edit order without create as a duplicate.
2
votes
2answers
888 views

Magento 2 : Is it possible to add order cancellation functionality in frontend?

I want to give the order cancellation functionality in frontend to user in case of order not shipped. What would be the step to achieve this functionality ?
0
votes
1answer
99 views

Edit order doesn't load products

I'm trying to edit an order and normally Magento 1.9.0.1 loads all the items in the order and adds them to the new order, in this case it isn't. I'm trying to figure out how to go about debugging ...
1
vote
1answer
1k views

How to handle partial order cancellation in Magento?

We are currently building an e-commerce website in Magento community edition (Version 1.9) and we specifically want "partial order cancellation" option, so it allows the customer to cancel the ...
1
vote
1answer
46 views

When the sales_flat_order_item.qty_cancelled gets value?

When the sales_flat_order_item.qty_cancelled gets value? Is it updated as a result of RMA process? I am sure it is not updated when a credit memo is raised.
2
votes
1answer
551 views

Remove/cancel a particular product from all pending orders in admin

I am doing a magento project in which i have to select all pending order at once and move to complete status from the order management page in admin. I have done this modification and it is working ...
0
votes
2answers
59 views

Order edit page broken

For few orders, the order admin page is broken. For other orders, page is working fine and normal without any issues. XML ERROR while turning on php errors Warning: simplexml_load_string(): Entity: ...
0
votes
3answers
1k views

Show/Hide Editor Not Responding

I have tried to look for previous solution and couldn't find any relevant topics. So I guess I should post a new question here. We are trying to toggle the WYSIWYG editor (Which is turned by default) ...
2
votes
0answers
3k views

Edit magento 2 order 'print' layout

So when u go to My Account -> My Orders and click on view order and then click Print Order then u see a PDF of the order that u just placed. Mine looks all messy : So I want to edit this. Does ...
11
votes
2answers
22k views

Magento2 Order by clause in collection

I have a custom collection to which I add filters. For example, I have this: $giftColletion = $this->_giftFactory->getCollection(); $giftColletion->addFieldToFilter('store_id', 1); What ...
2
votes
1answer
1k views

Order amount credit memo partial refund not correct

Unfortunately, I have a issue with magento 1.9.2.0. I made a partial refund credit memo for a customer. However, the total order amount is wrong. How can i fix this issue? I found this and this as ...
1
vote
1answer
332 views

How can I Hide Edit button in Sales Order section in magento

I want to hide Edit button in Sales Order Section in magento as shown in below image- Can anyone help me to hide this button.
1
vote
2answers
263 views

How to Track or Observe that an order is being edited in Magento at backend

I want to track that I am editing an order at backend in magento, so I want to track that Edit button has been clicked at backend in order section. See below image for more help- How can I track ...
2
votes
1answer
28 views

Lock order details page in backend when being viewed by another user

Is it possible to restrict access to orders detail page when it is viewed by another user?
1
vote
1answer
2k views

How can I set the billing and shipping addresses on an order that I am creating programatically?

I am creating a duplicate order that has been previously placed by a specific customer. How can I set the same billing and shipping address on the new order that I am creating programatically?
0
votes
2answers
63 views

Which event should i use, to get edit order action

I need to trigger my logic only if somebody will edit order in magento admin panel. Event sales_order_save_after work also when my order is created normal way. So this is not suitable to my task. Is ...
2
votes
1answer
179 views

remove ordernumber -1 suffix on ordernumber when admin changes order

When you get an order in Magento and the calls you to add an extra item to the order, you need to change the order, but Magento creates a new ordernumber for this order. For example the order number ...
0
votes
0answers
662 views

Update shipping price in admin

I have created a custom shipping module following this tutorial adeptasoftware.co.uk/blog/magento-delivery-date-extension-part-1/. But when I edit the order, the shipping price is not passed to the ...
1
vote
0answers
74 views

magento 1.7.0.2 shipping address will revert to billing address when i edit order [closed]

When i place an order on the front end, using a shipping address that is different from the billing address, upon editing the same order on the admin panel, the shipping address will change to the ...
1
vote
1answer
32 views

Why isn't the order updating when something is added to the cart?

I've created an order for the customer's cart using the following code (When the customer clicks checkout on the app we're making): $service = Mage::getModel('sales/service_quote', $quote); $service-&...
3
votes
0answers
320 views

How to take payment on edited PayPal order

Is it possible to re-authorise/re-take payment on the new order that is created when you 'Edit' an existing order? I'm running Magento 1.8.1.0 for a client's website that is currently in development. ...
-1
votes
2answers
153 views

Problem while Placing orders

When some one places an order, few other strange products are also getting added along with the selected product. And the address of the customer ends up with some wierd symbols and characters. The ...
3
votes
1answer
72 views

Normal and Editing views/template for block [closed]

I'm redesigning a small part of a website which previously had a set of customer account items which were directly editable simply by showing the textboxes/inputs, radio buttons, checkboxes, etc, ...
1
vote
0answers
791 views

Programatically generate order with custom order#

I'm using the code available here to generate orders programmatically (importing from an older in-house system) and its actually working quite well. I've made some changes to check/create customers as ...
2
votes
4answers
12k views

Change order status programmatically not working

I have two environments, production and development. And I tried to run this code on root of Magento: <?php require_once "app/Mage.php"; Mage::app('default'); error_reporting(E_ALL); ini_set('...
1
vote
1answer
869 views

Is it possible to update or delete the order items from the order with out creating the new order?

In my case, an order should be modified after the review. Order items can be removed or quantity will be modified from the order. I knew the Re order would the do the purpose by manually deleting the ...