Index: src/system/classes/csv/CSVFunctionLibrary.inc.php IDEA additional info: Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP <+>UTF-8 =================================================================== --- src/system/classes/csv/CSVFunctionLibrary.inc.php (revision 499500e433f7617363b44f4baa1679243655d305) +++ src/system/classes/csv/CSVFunctionLibrary.inc.php (revision ) @@ -793,12 +793,17 @@ { $t_combi_price = 0; $t_attributes_price = 0; - $t_product_price = $this->coo_xtc_price->xtcGetPrice($p_data_array['products_id'], false, 1, $p_data_array['products_tax_class_id'], '', 0, 0, $p_include_special); + $p_consider_properties = false; + $p_combi_id = 0; - + if($this->coo_scheme->v_data_array['export_properties'] == 1 && isset( $p_data_array[ 'products_properties_combis_id' ] ) && $p_data_array[ 'products_properties_combis_id' ] > 0) { - $t_combi_price = $this->coo_xtc_price->xtcGetPrice(0, false, 1, $p_data_array['products_tax_class_id'], $p_data_array['combi_price']); + $p_consider_properties = true; + $p_combi_id = $p_data_array[ 'products_properties_combis_id' ]; } + + $t_product_price = $this->coo_xtc_price->xtcGetPrice($p_data_array['products_id'], false, 1, $p_data_array['products_tax_class_id'], '', 0, 0, $p_include_special, $p_consider_properties, $p_combi_id); + if( $this->coo_scheme->v_data_array[ 'export_attributes' ] == 1 && isset( $p_data_array[ 'products_attributes_id' ] ) ) { \ No newline at end of file