Post by djordje » Thu Mar 30, 2023 9:54 pm

Hello,

I have just came across a problem where when I would like to edit an order in the administration I get the "Products marked with *** are not available in the desired quantity" error.

The order I would like to edit is the one the bought the last product on stock and now prevents further editing.

Is there any way to get around this?

My OpenCart version is 3.0.3.8.

User avatar
New member

Posts

Joined
Fri Oct 14, 2016 4:23 pm


Post by Cue4cheap » Thu Mar 30, 2023 9:56 pm

Natively no. Just go in and add a quantity to the product(s) and then edit order.

cue4cheap not cheap quality


Expert Member

Posts

Joined
Fri Sep 20, 2013 4:45 am

Post by TMD Extension @ » Fri Mar 31, 2023 12:30 pm

This might happen because when you try to edit the order at the time product present in that order has a quantity out of stock. It is the default behavior of OpenCart.

As Cue4cheap suggested, just add the product quantity and edit the order. You are good to go.

Image

Thanks & Regards
Sehaj Kaur
TMD Extensions
Contact Us For Customisations


Active Member

Posts

Joined
Thu Mar 17, 2022 12:59 pm

Post by djordje » Fri Mar 31, 2023 8:10 pm

I understand that I can just add the products and fix the problem. But isn't this an error, I should be able to edit the order details even if the product is out of stock? The thing here is that I don't want to touch the quantity, just add a coupon.

User avatar
New member

Posts

Joined
Fri Oct 14, 2016 4:23 pm


Post by Cue4cheap » Fri Mar 31, 2023 9:11 pm

Been discussed a few times. One thread that has a "solution": viewtopic.php?t=157245&start=20

cue4cheap not cheap quality


Expert Member

Posts

Joined
Fri Sep 20, 2013 4:45 am

Post by ADD Creative » Fri Mar 31, 2023 11:42 pm

A few issues on GitHub about this. Apparently you are meant to cancel the order before editing it.

https://github.com/opencart/opencart/issues/8997
https://github.com/opencart/opencart/issues/11472
https://github.com/opencart/opencart/issues/3811

www.add-creative.co.uk


Expert Member

Posts

Joined
Sat Jan 14, 2012 1:02 am
Location - United Kingdom
Who is online

Users browsing this forum: No registered users and 40 guests