-
Couldn't load subscription status.
- Fork 17
Open
Description
The sale price is not being formatted in the front end as per the original price (ie not following the the formatting set in the options).
I believe this is due to an extra 'return' in the Product class on line 468.
Function before fix applied
public function getFormattedSalePrice()
{
return
$saleprice = $this->getProductSalePrice();
if ($saleprice != '') {
return StorePrice::format($saleprice);
}
}Function after fix applied
public function getFormattedSalePrice()
{
$saleprice = $this->getProductSalePrice();
if ($saleprice != '') {
return StorePrice::format($saleprice);
}
}Metadata
Metadata
Assignees
Labels
No labels