Jump to content

Stop Stock Subtracting?


Recommended Posts

Hello,

I sell personalised gifts therefore I do not hold any fully made product in stock. Is there a way to stop PrestaShop subtracting stock levels when orders are confirmed?

I have allow out of stock products enabled, disabled stock management and Display last quantities when qty is lower than: set to 0 disabled but it still subtracts stock and then sends me an email stating that the product is out of stock.

Anyone know a way around this at all?

Link to comment
Share on other sites

Not using the Back Office. I fixed this by changing the updateQuantity function in classes/Product.php to:

public static function updateQuantity($product)
{
   if (!is_array($product))
       die (Tools::displayError());

   // Do not update quantities
   return true;
}

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