Jump to content

Stockavailable class help


rickczsu

Recommended Posts

Hi. My script badly runned StockAvailable::removeProductFromStockAvailable($id_prod) on all of products.
I runned that script again with StockAvailable::setQuantity($id_prod, 0, (int) $quantity);

 

but on some products it´s not set "When out of order": deny,available,available as default but deny

 

How can I repair it by PHP? pls

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...