Author Topic: zero stock available still can checkout by some shoppers  (Read 1507 times)

dhan0315

  • Beginner
  • *
  • Posts: 6
zero stock available still can checkout by some shoppers
« on: November 07, 2014, 11:27:17 am »
help guys! i have problem with stock control...i'm using j2.5.22 and vm2.6.0, the shoppers can still checking out the items even there's no more qty available

any alternative solution,

like :

1. how to limit qty on cart  and
2. put some hack codes on virtuemart ps_cart function like check first the quantity of the item before it proceed to shopping cart basket or
3. product locked if someone got the item on cart


so that it lessen duplicating order or items even out of stock i guess.

my question is how or where to locate the ps cart function and how coding do i make??

John2400

  • Virtuemart - the Future is ever Changing
  • Global Moderator
  • Full Member
  • *
  • Posts: 1568
  • VirtueMart Version: Use VM3.6+
Re: zero stock available still can checkout by some shoppers
« Reply #1 on: November 10, 2014, 12:12:34 pm »
Dhan,
The real option here is to update your VM.. We have had this question a few times and tested it on 2.6.10 and 12 and the product cannot be bought after you set config correctly..

dhan0315

  • Beginner
  • *
  • Posts: 6
Re: zero stock available still can checkout by some shoppers
« Reply #2 on: April 08, 2015, 10:38:08 am »
thanks buddy!

GJC Web Design

  • 3rd party VirtueMart Developer
  • Super Hero
  • *
  • Posts: 10629
  • Virtuemart, Joomla & php developer
    • GJC Web Design
  • VirtueMart Version: 3.8.8
Re: zero stock available still can checkout by some shoppers
« Reply #3 on: April 08, 2015, 10:41:59 am »
although there is no lock on the product (stock of one) to prevent two or more visitors adding to cart simultaneously and checking out

this is what this is for - http://extensions.joomla.org/profile/extension/extension-specific/virtuemart-extensions/product-checkout-lock-for-virtuemart
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM3 AusPost Shipping Plugin - e-go Shipping Plugin - VM3 Postcode Shipping Plugin - Radius Shipping Plugin - VM3 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