Fix the FlatDiscount, so that it actually discounts all the time.
This commit is contained in:
parent
82554add6b
commit
e86b7bb180
1 changed files with 1 additions and 1 deletions
|
|
@ -155,7 +155,7 @@ sub getPrice {
|
|||
return $subtotal * $self->get('percentageDiscount') / -100;
|
||||
}
|
||||
else {
|
||||
return $self->get('priceDiscount');
|
||||
return -1 * abs($self->get('priceDiscount'));
|
||||
}
|
||||
}
|
||||
return 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue