News:

Looking for documentation? Take a look on our wiki

Main Menu

zero all stock

Started by Topknotch, November 20, 2018, 16:11:08 PM

Previous topic - Next topic

Topknotch

Hi,

I need to set all stock and booked to zero , but keeping the products.
Any ideas please?
Many thanks
VirtueMart 3.4.2 joomla 3.9.0

AH

If you have access to mysql it is a simple update to the product tab
Regards
A

Joomla 4.4.5
php 8.1

Topknotch

yes I do, could you explain more please?
Many thanks

GJC Web Design

UPDATE `#__virtuemart_products` SET `product_in_stock`= 0,`product_ordered`= 0
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

Topknotch