Created
May 17, 2013 14:40
-
-
Save jonathandavis/5599479 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/core/model/Item.php b/core/model/Item.php | |
index 0a9329d..073999d 100644 | |
--- a/core/model/Item.php | |
+++ b/core/model/Item.php | |
@@ -151,7 +151,7 @@ class Item { | |
$this->sale = str_true($Product->sale); | |
$this->freeshipping = ( isset($Price->freeshipping) ? $Price->freeshipping : false ); | |
- $baseprice = ( $this->sale ? $Price->promoprice : $Price->price ); | |
+ $baseprice = roundprice( $this->sale ? $Price->promoprice : $Price->price ); | |
$this->unitprice = $baseprice + $this->addonsum; | |
if (shopp_setting_enabled('taxes')) { |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment