GX-Bug #44226 » GraduateGroupPriceFix.patch
| src/gm/classes/GMAttributesCalculator.php (revision ) | ||
|---|---|---|
| 89 | 89 |
} |
| 90 | 90 |
} |
| 91 | 91 |
// check Group Price |
| 92 |
elseif($xtPrice->xtcGetGroupPrice($this->products_id, 1, $this->combis_id))
|
|
| 92 |
elseif($xtPrice->xtcGetGroupPrice($this->products_id, $p_quantity, $this->combis_id))
|
|
| 93 | 93 |
{
|
| 94 |
$t_new_price = $xtPrice->xtcGetGroupPrice($this->products_id, 1, $this->combis_id);
|
|
| 94 |
$t_new_price = $xtPrice->xtcGetGroupPrice($this->products_id, $p_quantity, $this->combis_id);
|
|
| 95 | 95 |
|
| 96 | 96 |
if($t_new_price < $t_price) |
| 97 | 97 |
{
|