SkydiveUK24 Posted February 11, 2009 Share Posted February 11, 2009 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 More sharing options...
rocky Posted February 12, 2009 Share Posted February 12, 2009 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now