Customers are overordering limited stock items
The SiteBuilder system does stop someone from ordering more than is in stock. However, inventory is only decremented after the item is purchased. So it's very possible that a shop can oversell limited stock items.
To decrease the likelihood of overordering:
-
Set up inventory control. In the storeadmin area, in the Catalog Setup, make sure Inv Check is set to Yes.
-
Add the Instant Inventory Control mod. This mod temporarily saves item counts as soon as a customer clicks the Order button. Once all the available items are put into customers' carts, other customers will not be able to order that item for a certain number of minutes.
Note: while this greatly decreases the chances of overselling items, it's not a guarantee that an item will not oversell. Instant inventory may result in decreased sales, because a customer cannot order an item in someone else's cart, even if that first customer decides not to buy the item.-
Set Up the temporary inventory file:
Version 2.94+
The file is already active in newer versions.
Version 2.8x - 2.93
Rename the tempinv_x.php file in the client's /go/ folder to tempinv.php.
Version 2.72
Download the updated temporary inventory file and load the tempinv.php file into the /go/ folder of the site.
-
Change the settings:
-
Temp Cart ($delete_minutes if editing the file) - This is the number of minutes that customers have to wait before they can order an item that is currently in another customer's cart.
-
Self Cart ($self_minutes if editing the file) - This is the number of minutes that the customer has to wait before they can reorder an item. (We recommend this is set to a smaller value.)
Example:
$delete_minutes is set to 30.
$self_minutes is set to 5.
Tulip T-Shirt has one in stock.
Sam orders a Tulip T-Shirt.
Kim now cannot put a Tulip T-Shirt in her cart for 30 minutes, even if Sam doesn't buy the shirt, or if Sam removes the item from the cart.
If Sam changes his mind and no longer wants the shirt, he must wait 5 minutes before he can add it back to his cart. -
-
-
Add an inventory cap. You can do this with or without the Instant Inventory Control mod.
Open the order.php file in the /enc/ folder, and change the line:
$inv_inc_amt = "";
to:
$inv_inc_amt = 999;
After you save and reload the file, when a customer purchases an item that has 1 in stock, and tries to buy another, the price will change to $999. You can change the 999 price to whatever number you choose.