Jump to content

Stok setQuantity


Recommended Posts



im using PrestaShop multistore feature and sharing stock between three shops.


Now im writting a script to update quantity and would like to get recommendations.


 StockAvailable::setQuantity((int)$row->id_product, $row->id_product_attribute , $count , $id_shop);

Im using setQuantity method to update it, but what about shop id? If I would like to update for all shops. As I said all 3 shops sharing stock.


Thanks for information!

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...