logo
Welcome to our new AbleCommerce forums. As a guest, you may view the information here. To post to this forum, you must have a registered account with us, either as a new user evaluating AbleCommerce or an existing user of the application. For all questions related to the older version of Gold and earlier, please go to AbleCommerce Gold forum. Please use your AbleCommerce username and password to Login. New Registrations are disabled.

Notification

Icon
Error

Options
Go to last post Go to first unread
rlopez397954  
#1 Posted : Friday, May 3, 2024 5:54:52 PM(UTC)
rlopez397954

Rank: Advanced Member

Groups: Authorized User, Registered, Developers, HelpDesk
Joined: 11/30/2018(UTC)
Posts: 86

Thanks: 8 times
Was thanked: 1 time(s) in 1 post(s)
We recently had an order come through a live 9.0.9 current rev. site that allowed a customer
to purchase a product that went into negative inventory. The setup on the product is basic, using Inventory (Track Product) and (QTY) only. No other inventory options set and our products template is not customized in anyway, just using the out of box one.

I was able to reproduce this on a test site as well. This is how we got there after debugging this live order.

Create a product basic. Under inventory use the Track Product option and add 2-ea to inventory.

Open a new different browser and clear cookies. The Customer was using Safari 17.4 and I tested using Chrome latest version 124.0.6367.119. The customer was using a mobile device and I tested on a desktop. User is anonymous in both cases. Note: (Did not test with Admin or Logged In as a user.)

Find the product through the menu, search i.e. and add 2-ea to basket. Go to basket and now add another 2-ea to the basket and everything works like it should. The notes pop-up and reduces the inventory back to 2-ea. All good at this point. I also tried this several times including leaving the basket and then adding multiple qty’s, again always reverted back with notes (Inventory exceeded and qty’s corrected to the correct inventory amount).

What you need to do now is keep your screen open on the basket and go and have a cup of coffee i.e for about 20-min or so. Now go to the home page from the basket and find the product again through the menu, search i.e. and add another qty in my case 2-ea. The basket creates another line item of 2-ea to the order and allows a completed checkout. The product now shows out of stock and -2 ea. See Screen shot. Screenshot 2024-05-03 at 08-46-22 NGK Spark plug BUHXW-1.png (18kb) downloaded 0 time(s).

Hopefully this makes sense. Please fix.

Thanks again for your help.

Wanna join the discussion?! Login to your AbleCommerce Forums forum account. New Registrations are disabled.

Katie S  
#2 Posted : Tuesday, May 7, 2024 12:08:08 PM(UTC)
Katie S

Rank: Advanced Member

Groups: System, Administrators, Developers, Registered, HelpDesk
Joined: 10/29/2018(UTC)
Posts: 471

Thanks: 4 times
Was thanked: 34 time(s) in 33 post(s)
Hi,

I'm having trouble reproducing the issue. I let the session timeout and then added the item again. Each time the inventory combines and readjusts on the basket page.

I'll keep trying...
Thanks for your support!

Katie
Secure eCommerce Software and Hosting
rlopez397954  
#3 Posted : Tuesday, May 7, 2024 12:47:33 PM(UTC)
rlopez397954

Rank: Advanced Member

Groups: Authorized User, Registered, Developers, HelpDesk
Joined: 11/30/2018(UTC)
Posts: 86

Thanks: 8 times
Was thanked: 1 time(s) in 1 post(s)
I can pm you the logs if you would like.
They clearly show the processes used.

Thanks again.
Katie S  
#4 Posted : Wednesday, May 8, 2024 8:58:04 PM(UTC)
Katie S

Rank: Advanced Member

Groups: System, Administrators, Developers, Registered, HelpDesk
Joined: 10/29/2018(UTC)
Posts: 471

Thanks: 4 times
Was thanked: 34 time(s) in 33 post(s)
Hi,

I'm still unable to reproduce the issue. I've never seen anyone report this issue which seems like it wouldn't be difficult to reproduce.

I'll ask a developer to review the issue and request your log files.

Thank you
Thanks for your support!

Katie
Secure eCommerce Software and Hosting
Katie S  
#5 Posted : Friday, May 10, 2024 10:22:20 AM(UTC)
Katie S

Rank: Advanced Member

Groups: System, Administrators, Developers, Registered, HelpDesk
Joined: 10/29/2018(UTC)
Posts: 471

Thanks: 4 times
Was thanked: 34 time(s) in 33 post(s)
Hi,

With the help of our dev team, I can reproduce the issue now.

Here are the steps to reproduce:

1. Create a product with 'Track Product' Inventory setting and the stock value as 2
2 Add 2 of the items in basket and proceed to checkout as anonymous user
3. After completing the billing address step, navigate back and add the same product again with quantity 2.

Now you will be able to add the item twice (with quantity 2 each) and complete checkout although the in stock value was 2.

You can see the message is still showing in basket about the quantity exceeded.

This can only happen if the user has not updated the billing info page. Once they are no longer anonymous, the basket combines correctly.

I will report the issue, but some time will be needed to find an appropriate fix.

Thanks for letting us know.
Thanks for your support!

Katie
Secure eCommerce Software and Hosting
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.