$news_qty = $cart_qty + $cart_quantity;
                 $products_order_min = oos_get_products_quantity_order_min($_POST['slave_id']);
                 $products_order_units = oos_get_products_quantity_order_units($_POST['slave_id']);
                 if ($cart_quantity >= $products_order_min or $cart_qty >= $products_order_min) {
                     if ($cart_quantity % $products_order_units == 0 and $news_qty >= $products_order_min) {
                         $_SESSION['cart']->add_cart($_POST['slave_id'], $news_qty);
                     } else {
                         $_SESSION['error_cart_msg'] = $aLang['error_products_quantity_order_min_text'] . $aLang['error_products_units_invalid'] . $cart_quantity . ' - ' . $aLang['products_order_qty_unit_text_info'] . ' ' . $products_order_units;
                     }
                 } else {
                     $_SESSION['error_cart_msg'] = $aLang['error_products_quantity_order_min_text'] . $aLang['error_products_quantity_invalid'] . $cart_quantity . ' - ' . $aLang['products_order_qty_min_text_info'] . ' ' . $products_order_min;
                 }
             }
         }
         if ($_SESSION['error_cart_msg'] == '') {
             MyOOS_CoreApi::redirect(oos_href_link($goto_file, oos_get_all_post_parameters($parameters), 'NONSSL'));
         } else {
             MyOOS_CoreApi::redirect(oos_href_link($aPages['product_info'], 'products_id=' . $_POST['slave_id']));
         }
     }
     break;
 case 'add_a_quickie':
     if (DECIMAL_CART_QUANTITY == '1') {
         $_POST['cart_quantity'] = str_replace(',', '.', $_POST['cart_quantity']);
         $cart_quantity = oos_prepare_input($_POST['cart_quantity']);
     }
     if (isset($_POST['cart_quantity']) && is_numeric($_POST['cart_quantity'])) {
         if (isset($_POST['quickie'])) {
             $productstable = $oostable['products'];
             $quickie_result = $dbconn->Execute("SELECT products_id FROM {$productstable} WHERE (products_model = '" . addslashes($quickie) . "' OR products_ean = '" . addslashes($quickie) . "')");
             if (!$quickie_result->RecordCount()) {
                 $news_qty = $cart_qty + $cart_quantity;
                 $products_order_min = oos_get_products_quantity_order_min($_POST['slave_id']);
                 $products_order_units = oos_get_products_quantity_order_units($_POST['slave_id']);
                 if ($cart_quantity >= $products_order_min or $cart_qty >= $products_order_min) {
                     if ($cart_quantity % $products_order_units == 0 and $news_qty >= $products_order_min) {
                         $_SESSION['cart']->add_cart($_POST['slave_id'], $news_qty);
                     } else {
                         $_SESSION['error_cart_msg'] = $aLang['error_products_quantity_order_min_text'] . $aLang['error_products_units_invalid'] . $cart_quantity . ' - ' . $aLang['products_order_qty_unit_text_info'] . ' ' . $products_order_units;
                     }
                 } else {
                     $_SESSION['error_cart_msg'] = $aLang['error_products_quantity_order_min_text'] . $aLang['error_products_quantity_invalid'] . $cart_quantity . ' - ' . $aLang['products_order_qty_min_text_info'] . ' ' . $products_order_min;
                 }
             }
         }
         if ($_SESSION['error_cart_msg'] == '') {
             oos_redirect(oos_href_link($goto_mp, $goto_file, oos_get_all_post_parameters($parameters), 'NONSSL'));
         } else {
             oos_redirect(oos_href_link($aModules['products'], $aFilename['product_info'], 'products_id=' . $_POST['slave_id']));
         }
     }
     break;
 case 'add_a_quickie':
     if (DECIMAL_CART_QUANTITY == '1') {
         $_POST['cart_quantity'] = str_replace(',', '.', $_POST['cart_quantity']);
         $cart_quantity = oos_prepare_input($_POST['cart_quantity']);
     }
     if (isset($_POST['cart_quantity']) && is_numeric($_POST['cart_quantity'])) {
         if (isset($_POST['quickie'])) {
             $productstable = $oostable['products'];
             $quickie_result = $dbconn->Execute("SELECT products_id FROM {$productstable} WHERE (products_model = '" . addslashes($quickie) . "' OR products_ean = '" . addslashes($quickie) . "')");
             if (!$quickie_result->RecordCount()) {