Products in cancelled orders become inactive. I need them to remain active.

Pretty much my title.

I'm running a pretty special store, which only has one of each product, orders take them out of stock, which therefore makes them inactive, but if the order is cancelled, they're in stock again, but inactive.

How can i change this? I need them to reactivate when they are in stock again.


There is an config option to reset the products to be in stock:

 System > Config > Catalog > Inventory (Stock?) > Options > Reset product to "in stock" after canceled order
  • I have only a german version at hand at the moment
Tags: Product / Orders

Similar questions

Deleteing cancelled orders
I wanted to delete the test and cancelled orders from magento but all the codes I found didn't work on 1.9.0 and onwards. So on test site I deleted those orders through phpmyadmin. Is that the correct way? The script I tried was this one:
Paypal orders being cancelled randomly
I have noticed Paypal orders on my site at random get cancelled even though the customer paid and completed the transaction. Payment information gets populated and I can see the ipn registered message too. This excerpt of the comments history shows 08:43 the order was in pending payment status. Then 8.44 ipn confirmed capture of payment. Making the...
Version 1.9.01 Orders cancelled but payment showing on payment platform
We are having problems with some orders that are going to cancelled, even when we have payment on our payment system. Can anyone help?
Get collection of orders excluding cancelled order in Magento 2
I have got order collection with the following code: Which is working fine. Problem is that it returns all types of orders including 'processing', 'cancelled' etc. I don't want the cancelled order in this collection. I don't know how to exclude cancelled order in the above code. Hope somebody helps.
Magento 2.3 Admin Sales Order Grid hide cancelled orders
I want to remove all cancelled orders from admin sales_order_grid. I am trying to add a collection as below. But it's not updating. However the printed data showing correctly. If I print $result it's showing correct data, without cancelled orders. But in admin it's not updating. Below is my di.xml code:
How do I reduce image url length so that facebook doesn't truncate them and renders them correctly?
Thanks for your attention! Ignore this question for now as it doesn't seem a length issue as I have just tried with a certain bunch of URLs that we are facing a problem with while not with another bunch. Will update the question above once I have more clarity. Note: All links used in this post are hypothetical to explain the issue. Can't share actu...

Also ask

We use cookies to deliver the best possible experience on our website. By continuing to use this site, accepting or closing this box, you consent to our use of cookies. To learn more, visit our privacy policy.