Projekt

Allgemein

Profil

GX-Abgewiesen #65347 » 65347.patch

Marvin Muxfeld, 08.01.2020 12:55

Unterschiede anzeigen:

src/system/classes/checkout/CheckoutProcessProcess.inc.php (date 1578484342628)
1179 1179
                $t_product_filename = array_key_exists('products_attributes_filename', $t_stock_values_array)
1180 1180
                    ? $t_stock_values_array['products_attributes_filename']
1181 1181
                    : null;
1182

  
1183
                if ($this->productStockService->isChangeProductStock($t_use_combis_quantity_type, $p_combis_id,
1184
                    $t_product_filename)) {
1185
                    $t_stock_left = $t_stock_values_array['products_quantity'] - $p_product_array['qty'];
1186
                    $updateProductShippingStatus = true;
1182
    
1183
                if ($t_use_combis_quantity_type === PropertiesCombisAdminControl::DEFAULT_GLOBAL
1184
                    || $this->productStockService->isChangeProductStock($t_use_combis_quantity_type,
1185
                                                                        $p_combis_id,
1186
                                                                        $t_product_filename)) {
1187
                    $t_stock_left                                   = $t_stock_values_array['products_quantity']
1188
                                                                      - $p_product_array['qty'];
1189
                    $updateProductShippingStatus                    = true;
1187 1190
                    $t_products_sql_data_array['products_quantity'] = 'products_quantity - ' . $p_product_array['qty'];
1188 1191
                } else {
1189 1192
                    $t_stock_left = $t_stock_values_array['products_quantity'];
    (1-1/1)