News:

Support the VirtueMart project and become a member

Main Menu

Where is the function "Decreasing field amount in stock on order" ?

Started by minista, October 21, 2016, 15:15:03 PM

Previous topic - Next topic

minista

VirtueMart 3.0.14
Joomla 3.5.1 Stable

Hi everyone

Im looking for the function and the file where the code is about decreasing the field amount in stock when someone orders a product. I Need to add another code that someting else also will decrease in my database.

Where do i find this code?

Thanks!

K&K media production

You should find it inside the order model:

administrator/components/com_virtuemart/models/orders.php