Merge pull request #216 from lovenunu/master
Fix Coupon RemoveXPercent missing round
This commit is contained in:
@@ -106,7 +106,7 @@ class RemoveXPercent extends CouponAbstract
|
||||
|
||||
$basePrice = $this->facade->getCartTotalPrice();
|
||||
|
||||
return $basePrice * (( $this->percentage ) / 100);
|
||||
return round($basePrice * $this->percentage/100, 2);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user