Version Notes
- Bug fixes
Download this release
Release Info
| Developer | Nosto |
| Extension | Nosto_Tagging |
| Version | 2.6.10 |
| Comparing to | |
| See all releases | |
Code changes from version 2.6.9 to 2.6.10
app/code/community/Nosto/Tagging/Helper/Price.php
CHANGED
|
@@ -164,7 +164,11 @@ class Nosto_Tagging_Helper_Price extends Mage_Core_Helper_Abstract
|
|
| 164 |
*/
|
| 165 |
public function getItemFinalPriceInclTax(Mage_Sales_Model_Order_Item $item)
|
| 166 |
{
|
|
|
|
| 167 |
$price = $item->getBaseRowTotal() + $item->getBaseTaxAmount() + $item->getBaseHiddenTaxAmount() - $item->getBaseDiscountAmount();
|
|
|
|
|
|
|
|
|
|
| 168 |
return $price;
|
| 169 |
}
|
| 170 |
}
|
| 164 |
*/
|
| 165 |
public function getItemFinalPriceInclTax(Mage_Sales_Model_Order_Item $item)
|
| 166 |
{
|
| 167 |
+
$quantity = (double)$item->getQtyOrdered();
|
| 168 |
$price = $item->getBaseRowTotal() + $item->getBaseTaxAmount() + $item->getBaseHiddenTaxAmount() - $item->getBaseDiscountAmount();
|
| 169 |
+
if ($quantity > 1) {
|
| 170 |
+
$price = round($price/$quantity, 2);
|
| 171 |
+
}
|
| 172 |
return $price;
|
| 173 |
}
|
| 174 |
}
|
app/code/community/Nosto/Tagging/etc/config.xml
CHANGED
|
@@ -29,7 +29,7 @@
|
|
| 29 |
<config>
|
| 30 |
<modules>
|
| 31 |
<Nosto_Tagging>
|
| 32 |
-
<version>2.6.
|
| 33 |
</Nosto_Tagging>
|
| 34 |
</modules>
|
| 35 |
<global>
|
| 29 |
<config>
|
| 30 |
<modules>
|
| 31 |
<Nosto_Tagging>
|
| 32 |
+
<version>2.6.10</version>
|
| 33 |
</Nosto_Tagging>
|
| 34 |
</modules>
|
| 35 |
<global>
|
package.xml
CHANGED
|
@@ -1,14 +1,14 @@
|
|
| 1 |
<?xml version="1.0"?>
|
| 2 |
<package>
|
| 3 |
<name>Nosto_Tagging</name>
|
| 4 |
-
<version>2.6.
|
| 5 |
<stability>stable</stability>
|
| 6 |
<license uri="http://opensource.org/licenses/osl-3.0.php">OSL</license>
|
| 7 |
<channel>community</channel>
|
| 8 |
<extends/>
|
| 9 |
<summary>Personalization for Magento</summary>
|
| 10 |
<description>Increase your conversion rate and average order value by delivering your customers personalized product recommendations throughout their shopping journey.</description>
|
| 11 |
-
<notes>-
|
| 12 |
<authors>
|
| 13 |
<author>
|
| 14 |
<name>Nosto</name>
|
|
@@ -16,8 +16,8 @@
|
|
| 16 |
<email>magento@nosto.com</email>
|
| 17 |
</author>
|
| 18 |
</authors>
|
| 19 |
-
<date>2016-03-
|
| 20 |
-
<time>
|
| 21 |
<contents>
|
| 22 |
<target name="magecommunity">
|
| 23 |
<dir name="Nosto">
|
|
@@ -43,7 +43,7 @@
|
|
| 43 |
<file name="Data.php" hash="f7f737ba34cc9144a01db32fc91d3bcb"/>
|
| 44 |
<file name="Date.php" hash="1a108a4ec8169b73411b6c11b86a1d80"/>
|
| 45 |
<file name="Oauth.php" hash="9ecbea9e8411501cabe780e0511a1d05"/>
|
| 46 |
-
<file name="Price.php" hash="
|
| 47 |
<file name="Url.php" hash="289294904d246c56e4de96798927a7f6"/>
|
| 48 |
</dir>
|
| 49 |
<dir name="Model">
|
|
@@ -107,7 +107,7 @@
|
|
| 107 |
<dir name="etc">
|
| 108 |
<file name="adminhtml.xml" hash="7ea210738a77630f299a14b442f3b8d0"/>
|
| 109 |
<file name="cache.xml" hash="e874fbbf2eb89b325deb1a62afbcfb4d"/>
|
| 110 |
-
<file name="config.xml" hash="
|
| 111 |
<file name="system.xml" hash="7deba6544a09d7af8c07e6b5edc0975a"/>
|
| 112 |
</dir>
|
| 113 |
<dir name="sql">
|
| 1 |
<?xml version="1.0"?>
|
| 2 |
<package>
|
| 3 |
<name>Nosto_Tagging</name>
|
| 4 |
+
<version>2.6.10</version>
|
| 5 |
<stability>stable</stability>
|
| 6 |
<license uri="http://opensource.org/licenses/osl-3.0.php">OSL</license>
|
| 7 |
<channel>community</channel>
|
| 8 |
<extends/>
|
| 9 |
<summary>Personalization for Magento</summary>
|
| 10 |
<description>Increase your conversion rate and average order value by delivering your customers personalized product recommendations throughout their shopping journey.</description>
|
| 11 |
+
<notes>- Bug fixes</notes>
|
| 12 |
<authors>
|
| 13 |
<author>
|
| 14 |
<name>Nosto</name>
|
| 16 |
<email>magento@nosto.com</email>
|
| 17 |
</author>
|
| 18 |
</authors>
|
| 19 |
+
<date>2016-03-31</date>
|
| 20 |
+
<time>07:13:05</time>
|
| 21 |
<contents>
|
| 22 |
<target name="magecommunity">
|
| 23 |
<dir name="Nosto">
|
| 43 |
<file name="Data.php" hash="f7f737ba34cc9144a01db32fc91d3bcb"/>
|
| 44 |
<file name="Date.php" hash="1a108a4ec8169b73411b6c11b86a1d80"/>
|
| 45 |
<file name="Oauth.php" hash="9ecbea9e8411501cabe780e0511a1d05"/>
|
| 46 |
+
<file name="Price.php" hash="8d3736e7fc03f7064eb351ee323e8f43"/>
|
| 47 |
<file name="Url.php" hash="289294904d246c56e4de96798927a7f6"/>
|
| 48 |
</dir>
|
| 49 |
<dir name="Model">
|
| 107 |
<dir name="etc">
|
| 108 |
<file name="adminhtml.xml" hash="7ea210738a77630f299a14b442f3b8d0"/>
|
| 109 |
<file name="cache.xml" hash="e874fbbf2eb89b325deb1a62afbcfb4d"/>
|
| 110 |
+
<file name="config.xml" hash="70911860e689acb229feb33d3bf5631c"/>
|
| 111 |
<file name="system.xml" hash="7deba6544a09d7af8c07e6b5edc0975a"/>
|
| 112 |
</dir>
|
| 113 |
<dir name="sql">
|
