Results 1 to 6 of 6
  1. #1
    Join Date
    Jun 2016
    Location
    Suffolk VA
    Posts
    590
    Plugin Contributions
    0

    Default Software allowed an order for more than the current inventory level

    I went to bed with the inventory on a popular product showing "1" and woke up to find that someone had successfully ordered 3 of them. The system had changed the product status to "Out of Stock," which of course made it disappear from the product list. So I also had 20 emails from people wanting to know what had happened to it. I changed it back to zero, so it would at least show up as Sold Out.

    How could someone have been able to order three when the system only showed one in stock? Shouldn't they have gotten a message that their order exceeded the available quantity? No changes have been made to any files involved here.

  2. #2
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Software allowed an order for more than the current inventory level

    What's your setting for: Admin->Configuration->Stock->Allow Checkout ?
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  3. #3
    Join Date
    Jun 2016
    Location
    Suffolk VA
    Posts
    590
    Plugin Contributions
    0

    Default Re: Software allowed an order for more than the current inventory level

    It's set to show sold out. But I know what has to have happened. The customer already had 3 in her shopping cart when I changed the inventory level to 1. Classic record-locking situation. I've never had sufficient traffic on my site for that to be an issue before. Good thing I held out some extras or I wouldn't have been able to fill her order. I'm really more concerned about the fact that the stock status of the product was changed. I need to fix that so if the level drops below zero, and it's set to show sold out, it won't change the product to Not in Stock and make it disappear.

  4. #4
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,133
    Plugin Contributions
    11

    Default Re: Software allowed an order for more than the current inventory level

    The Dr is talking about the setting used by sites that don't have a problem easily replenishing stock. It allows a customer to checkout with a quantity of zero or less. Yours should probably be set to false.

  5. #5
    Join Date
    Jul 2012
    Posts
    16,732
    Plugin Contributions
    17

    Default Re: Software allowed an order for more than the current inventory level

    The settings shown in the attached screenshot (if legible) are such that stock should not be allowed to go "negative" and the product should remain displayed in the cart (store) when out-of-stock.

    The fact that the stock was in the saved cart as part of login should not have allowed the customer to still checkout with that additional/unavailable stock if set as shown in this image. There is a final check of stock quantity in the checkout process to prevent that type of action if going out of stock is not permitted.

    Name:  IMG_20160823_104840.jpg
Views: 178
Size:  49.8 KB
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  6. #6
    Join Date
    Oct 2013
    Location
    MTL
    Posts
    66
    Plugin Contributions
    2

    Default Re: Software allowed an order for more than the current inventory level

    Hi, I know this is a somewhat old thread but I hope that we can come to a resolution.

    A Zen-Cart store has been operating for 3-4 years now. Over the first 2 years or we have not had any issues with negative stock because we never used "subtract stock". Last year was the first time we enabled the feature along with the other settings
    Code:
    SSL is enabled on entire site, Check stock level =true, Check stock level =true, Check stock level=false, Check stock level =0, Show Sold Out Image in place of Add to Cart =0)
    . With those settings, everything went just fine. Customers who tried to order when stock levels were at zero got a message that their files were uploaded but couldn't get their product added to cart or that their cart was empty.

    This year, management felt the need to show a more descriptive message before a customer starts filling in all the order details. So we wanted to use the image "Out of Stock". So we enabled the feature and used a different picture. That is the only difference between last year and this year in terms of server and application configurations. We are using version 155A. What happened this year is for some reason, 4 customers of a single product managed to place orders when there were no stocks left (stock level -4). When I checked those orders, they were about between 30 seconds to about 3 minutes apart. (very lucrative product that literally sold out in less than 45 minutes). I am the system admin and application admin so I know what changes were made. The only change from last year is that only. We have always been using a Moneris Hosted Pay Page solution. We use other addons/plugins such as COWA, File Upload, Priority handling, and some shipping modules (this product that was -4 stock does not ship. So no shipping rules apply). I am baffled as to how they managed to place those orders. Luckily, we are able to accommodate those customers but I believe that shouldn't have happened.

 

 

Similar Threads

  1. Replies: 20
    Last Post: 10 Jun 2016, 06:01 PM
  2. Allowed to buy more than in stock??
    By Harvezter in forum General Questions
    Replies: 1
    Last Post: 29 Dec 2009, 02:55 AM
  3. Update order status for more than one at a time
    By jeking in forum Managing Customers and Orders
    Replies: 3
    Last Post: 4 Jun 2008, 03:08 AM
  4. Multi Level Administration Panel (for more sellers in the same site)
    By isidoro81 in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 22 Feb 2007, 07:11 PM
  5. Replies: 5
    Last Post: 10 Oct 2006, 02:12 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR