Richard S Posted October 9, 2014 Share Posted October 9, 2014 Hello,I've come up with a strange bug. I have multistore shops group with shared stock, carts and customers.I add product in one shop A and try to checkout on second one B. Product is created and assigned only to shop A. The problem is that if I add product from shop A and try to increase quantity value at shop's B shopping-cart summary it shows that the product is out of stock and no longer available. This is a bug, because CartController.php initiates product object in processChangeProductInCart() function without id_shop and ObjectModel creates product width context's shop which is not the right one and product does not exist in the current context shop, but it exists in another shop and the stock is good. GitHub link to CartController: https://github.com/PrestaShop/PrestaShop/blob/1.6/controllers/front/CartController.php#L207 This problem is only seen if product is not assigned to both shops. Link to comment Share on other sites More sharing options...
pietjanssen Posted May 18, 2016 Share Posted May 18, 2016 I have the same issue. Link to comment Share on other sites More sharing options...
musicmaster Posted May 21, 2016 Share Posted May 21, 2016 It is useless to report bugs here as the Prestashop staff doesn't monitor the forum. Better report it on https://forge.prestashop.com/ If you are not totally sure whether it is really a bug you can also discuss it in the special bugs forum: https://www.prestashop.com/forums/forum/23-bug-reports/ 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