Currently, the inventory quantity is only updated when the customer completes the check out step.
But, i need to implement the feature of updating product inventory in real time. That is, as soon as the customer puts the product in the cart, the inventory quantity must immediately be updated, as well as when the customer removes the product from the cart.
I’ve searched and haven’t found a solution yet. Look forward to the help! Thank you!
Tran Tuong is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.