How is the product quantity in inventory is being saved to database?
-
I can't find where is this function is being used. Any one of you has known about this?
-
Hi @acxy99,
Product Inventory is a model. So we are updating the quantity attribute and saving by using the model method.
-
@devansh-webkul said in How is the product quantity in inventory is being saved to database?:
and saving by using the model metho
@devansh-webkul this model method is invoked when the variable "inventories" is called?
-
Hi @acxy99,
Check line number 31 in your screenshot. It's already calling and you are already in ProductInventoryRepository.