Skip to content

Commit

Permalink
If no tax rate is given hide the display of tax
Browse files Browse the repository at this point in the history
  • Loading branch information
sydekumf committed Nov 19, 2017
1 parent 40834fb commit eddd274
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Block/AfterPrice.php
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ public function getTaxText()
}

if ($taxRate <= 0 || !$product) {
$taxRate = '';
return '';
} else {
$taxRate .= '%';
}
Expand Down

0 comments on commit eddd274

Please sign in to comment.