News:

Support the VirtueMart project and become a member

Main Menu

How is "add to cart" influence on stock-level

Started by bowie, February 14, 2013, 17:15:07 PM

Previous topic - Next topic

bowie

Greetings,

Can someone help me please with this VM 2.0.18a question.
When users are shopping and adding a product to the cart - will that then reserve/lock 1 stock item? So that we can always be sure that we are not "overselling" a product?

Would appreciate any help here

Thx in advance

jjk

You can control that if you go to Configuration -> configuration -> shopfront -> action when product is out of stock
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations

bowie

Thx for the answer, but what I meant was is; when adding to the cart - is virtuemart then reserving that amount of stock. So if the stock level is 5, and 5 online users add 1 material each (NO CHECKOUT) is that then "reserving" 5 stock items so that the total stock amount equals 0 on the actual material, BEFORE checkout. So a six users looking at that same material at the same time would see it as 0 in stock level?

My issue is that I want to avoid that my product is "overselled"

GJC Web Design

Just test this yourself on a couple of browsers.. assuming you have a site set up...
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

jjk

The stock level is being reduced when the order is confirmed. Some people may add a product into the cart but never finish checkout. So reducing stock level at this time doesn't make sense. You can use i.e. the option "Displays 'Notify Me' instead of 'Add To Cart' button" (where you eventually replace the 'Notify Me' with 'Sold Out' in the language file). In your example above the first 5 users who actually buy the product would get it and the sixth one would see 'Notify Me' instead of the 'Add to Cart' button. Also you can limit the maximum number of products customers are able to add to the cart.  So there is no danger of overselling.
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations

thenut

Hi all,
First of all I totally agree with bowie. Products added to cart should be also reserved/blocked for other users. Simple example:
I have shop with only unique stuff. One of them is product which is only one in the world. Let's call it "VIP's tumb". User X want to buy it. He is adding VIP's thumb to the cart and he want to continue shopping.
Now appear user Y came to buy VIP's thumb and he finished the shopping.
And what now? Both of them want the same product, both of them did everything rights. But only one can buy it. If products which are in cart had status 'reserved/blocked' user Y couldn't add to cart the same one.
I know this is a very unique situation, but possible.

I found a solution for this and I can help if somebody want.

PS.
Sorry for late answer ;)

jenkinhill

Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum