Projekt

Allgemein

Profil

GX-Bug #44185 » GroupPriceDiscountFix1.patch

/includes/classes/xtcPrice.php - Till Tepelmann, 11.12.2015 12:30

Unterschiede anzeigen:

src/includes/classes/xtcPrice.php (revision )
202 202
			$t_special_price = $this->xtcGetGraduatedPrice($p_products_id, $quantity, $t_combis_id);
203 203
			if(empty($t_special_price) === false)
204 204
			{
205
				return $this->xtcFormatSpecialGraduated($p_products_id, $this->xtcAddTax($t_special_price, $t_tax_rate), $t_products_price, $p_format_price, $p_return_array);
205
				return $this->xtcFormatSpecialGraduated($p_products_id, $this->xtcAddTax($t_special_price, $t_tax_rate), $this->xtcAddTax($t_special_price, $t_tax_rate), $p_format_price, $p_return_array);
206 206
			}
207 207
		}
208 208
		
......
210 210
		$t_special_price = $this->xtcGetGroupPrice($p_products_id, 1, $t_combis_id);
211 211
		if(empty($t_special_price) === false)
212 212
		{
213
			return $this->xtcFormatSpecialGraduated($p_products_id, $this->xtcAddTax($t_special_price, $t_tax_rate), $t_products_price, $p_format_price, $p_return_array);
213
			return $this->xtcFormatSpecialGraduated($p_products_id, $this->xtcAddTax($t_special_price, $t_tax_rate), $this->xtcAddTax($t_special_price, $t_tax_rate), $p_format_price, $p_return_array);
214 214
		}
215 215

  
216 216
		// check Product Discount
    (1-1/1)