Skip to Content
Menu
This question has been flagged
1 Atsakyti
2152 Rodiniai

I want to run code any time the available quantity of a product changes. How can I do that? 

Portretas
Atmesti

use onchange method

Best Answer

Hi,

You need to write the Onchange function for the stock.quant module of the field quantity, if the quantity is changed also the available quantity will change, so you can write a function for the onchange the field.

Regards

Portretas
Atmesti