Author Topic: Inventory gets ignored when adding to cart [solved]  (Read 437 times)

MAD King

  • Jr. Member
  • **
  • Posts: 380
  • Supporter Membership - Gold
  • VirtueMart Version: Always the Latest
Inventory gets ignored when adding to cart [solved]
« on: September 13, 2018, 17:44:47 pm »
Hello,

I am not sure if this is a bug, but my VM 3.2.14 on Joomla 3.8.12 is allowing to add as many products to the card as wanted and have them purchased.
Inventory is e.g. 3, but VM ignores that.

Thank you
Joomla! 3.9.12
VirtueMart 3.6.2 10159

GJC Web Design

  • 3rd party VirtueMart Developer
  • Super Hero
  • *
  • Posts: 9234
  • Virtuemart, Joomla & php developer
    • GJC Web Design
  • VirtueMart Version: 3.6.8
Re: Inventory gets ignored when adding to cart
« Reply #1 on: September 13, 2018, 17:53:05 pm »
Your out of stock settings?
GJC Web Design
VirtueMart and Joomla Developers - php developers http://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
http://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

MAD King

  • Jr. Member
  • **
  • Posts: 380
  • Supporter Membership - Gold
  • VirtueMart Version: Always the Latest
Re: Inventory gets ignored when adding to cart
« Reply #2 on: September 13, 2018, 17:58:08 pm »
Sorry, forgot that.

I went through all variations and nothing worked.
Current settings:


EDIT: I cleared all caches (Website, browser...) and set the stock handling to "Do not Display Product". Now, when I go over the stock limit I get the pop up window and only the available quantity get added.
So, I assume it had something to do with that.
Joomla! 3.9.12
VirtueMart 3.6.2 10159

GJC Web Design

  • 3rd party VirtueMart Developer
  • Super Hero
  • *
  • Posts: 9234
  • Virtuemart, Joomla & php developer
    • GJC Web Design
  • VirtueMart Version: 3.6.8
Re: Inventory gets ignored when adding to cart
« Reply #3 on: September 13, 2018, 18:28:22 pm »
yes ...  you have to have some stock management set to have any effect at the FE..
GJC Web Design
VirtueMart and Joomla Developers - php developers http://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
http://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation