giuliopowa Posted June 26, 2015 Share Posted June 26, 2015 (edited) hello,i have this error when i have in the cart 1 or more product that are disabled.how do you skip this control ??because I want if a product is disable, let me continue the orderthanks Edited June 26, 2015 by giuliopowa (see edit history) Link to comment Share on other sites More sharing options...
giuliopowa Posted June 26, 2015 Author Share Posted June 26, 2015 in the Back office the product in disablebut the produtc is in the cartI want to buy it also if it is disabled without errors Link to comment Share on other sites More sharing options...
giuliopowa Posted June 26, 2015 Author Share Posted June 26, 2015 (edited) oky i solved /controllers/front/OrderOpcController.phpline 522 /* If some products have disappear */ if (!$this->context->cart->checkQuantities()) return '<p class="warning">'.Tools::displayError('An item in your cart is no longer available. You cannot proceed with your order.').'</p>';to/* If some products have disappear if (!$this->context->cart->checkQuantities()) return '<p class="warning">'.Tools::displayError('An item in your cart is no longer available. You cannot proceed with your order.').'</p>'; */ Edited June 26, 2015 by giuliopowa (see edit history) 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