Projekt

Allgemein

Profil

GX-Bug #43043 » CSVcombiPriceFix.patch

/system/classes/csv/CSVFunctionLibrary.inc.php - Till Tepelmann, 21.08.2015 15:16

Unterschiede anzeigen:

src/system/classes/csv/CSVFunctionLibrary.inc.php (revision )
793 793
	{
794 794
		$t_combi_price = 0;
795 795
		$t_attributes_price = 0;
796
		$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);
796
		$p_consider_properties = false;
797
		$p_combi_id = 0;
797
		
798

  
798 799
		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)
799 800
		{
800
			$t_combi_price = $this->coo_xtc_price->xtcGetPrice(0, false, 1, $p_data_array['products_tax_class_id'], $p_data_array['combi_price']);
801
			$p_consider_properties = true;
802
			$p_combi_id = $p_data_array[ 'products_properties_combis_id' ];
801 803
		}
804

  
805
		$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);
806

  
802 807

  
803 808
		if( $this->coo_scheme->v_data_array[ 'export_attributes' ] == 1 && isset( $p_data_array[ 'products_attributes_id' ] ) )
804 809
		{
    (1-1/1)