Find
Code: Select all
if (($product_info['quantity'] > (int)$this->request->post['quantity']) && ($product_info['quantity'] > $current_quantity + (int)$this->request->post['quantity'])) {
Code: Select all
if (($product_info['quantity'] >= (int)$this->request->post['quantity']) && ($product_info['quantity'] >= $current_quantity + (int)$this->request->post['quantity'])) {