Version Notes
Added compatibility for Magento 1.3.x
Download this release
Release Info
Developer | Magento Core Team |
Extension | YOOCHOOSE_Recommender_Engine |
Version | 1.2.0 |
Comparing to | |
See all releases |
Code changes from version 1.1.1 to 1.2.0
- app/code/community/AvS/Yoochoose/Model/Observer.php +17 -5
- app/design/frontend/{base → default}/default/layout/yoochoose.xml +0 -0
- app/design/frontend/{base → default}/default/template/yoochoose/crosssell.phtml +0 -0
- app/design/frontend/{base → default}/default/template/yoochoose/recommendation.phtml +0 -0
- app/design/frontend/{base → default}/default/template/yoochoose/related.phtml +1 -1
- app/design/frontend/{base → default}/default/template/yoochoose/tracking.phtml +0 -0
- app/design/frontend/{base → default}/default/template/yoochoose/upsell.phtml +0 -0
- package.xml +5 -5
app/code/community/AvS/Yoochoose/Model/Observer.php
CHANGED
@@ -39,8 +39,7 @@ class AvS_Yoochoose_Model_Observer
|
|
39 |
$this->_displayMessage($licenseType);
|
40 |
|
41 |
if ($licenseType != Mage::getStoreConfig('yoochoose/api/license_type')) {
|
42 |
-
|
43 |
-
Mage::getSingleton('core/config')->reinit();
|
44 |
}
|
45 |
}
|
46 |
|
@@ -95,9 +94,7 @@ class AvS_Yoochoose_Model_Observer
|
|
95 |
|
96 |
$statsHtml = $this->_generateStatsHtml($stats);
|
97 |
if ($statsHtml) {
|
98 |
-
|
99 |
-
Mage::getSingleton('core/resource_setup')->setConfigData('yoochoose/general/stats', $statsHtml);
|
100 |
-
Mage::getSingleton('core/config')->reinit();
|
101 |
}
|
102 |
|
103 |
return $statsHtml;
|
@@ -171,6 +168,12 @@ class AvS_Yoochoose_Model_Observer
|
|
171 |
$sorting = 5;
|
172 |
break;
|
173 |
|
|
|
|
|
|
|
|
|
|
|
|
|
174 |
default:
|
175 |
|
176 |
$label = $key;
|
@@ -191,4 +194,13 @@ class AvS_Yoochoose_Model_Observer
|
|
191 |
|
192 |
return $statsHtml;
|
193 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
194 |
}
|
39 |
$this->_displayMessage($licenseType);
|
40 |
|
41 |
if ($licenseType != Mage::getStoreConfig('yoochoose/api/license_type')) {
|
42 |
+
$this->_setConfigData('yoochoose/api/license_type', $licenseType);
|
|
|
43 |
}
|
44 |
}
|
45 |
|
94 |
|
95 |
$statsHtml = $this->_generateStatsHtml($stats);
|
96 |
if ($statsHtml) {
|
97 |
+
$this->_setConfigData('yoochoose/general/stats', $statsHtml);
|
|
|
|
|
98 |
}
|
99 |
|
100 |
return $statsHtml;
|
168 |
$sorting = 5;
|
169 |
break;
|
170 |
|
171 |
+
case 'DELIVERED_RECOS_also_purchased':
|
172 |
+
case 'DELIVERED_RECOS_also_clicked':
|
173 |
+
case 'DELIVERED_RECOS_top_selling':
|
174 |
+
|
175 |
+
continue;
|
176 |
+
|
177 |
default:
|
178 |
|
179 |
$label = $key;
|
194 |
|
195 |
return $statsHtml;
|
196 |
}
|
197 |
+
|
198 |
+
protected function _setConfigData($configPath, $value)
|
199 |
+
{
|
200 |
+
$setup = new Mage_Core_Model_Resource_Setup('core_setup');
|
201 |
+
$setup->startSetup();
|
202 |
+
$setup->setConfigData($configPath, $value);
|
203 |
+
$setup->endSetup();
|
204 |
+
Mage::getSingleton('core/config')->reinit();
|
205 |
+
}
|
206 |
}
|
app/design/frontend/{base → default}/default/layout/yoochoose.xml
RENAMED
File without changes
|
app/design/frontend/{base → default}/default/template/yoochoose/crosssell.phtml
RENAMED
File without changes
|
app/design/frontend/{base → default}/default/template/yoochoose/recommendation.phtml
RENAMED
File without changes
|
app/design/frontend/{base → default}/default/template/yoochoose/related.phtml
RENAMED
@@ -5,7 +5,7 @@
|
|
5 |
<strong><span><?php echo $this->__('Related Products') ?></span></strong>
|
6 |
</div>
|
7 |
<div class="block-content">
|
8 |
-
<p class="block-subtitle"><?php echo $this->__('Check items to add to the cart or') ?> <a href="#" onclick="selectAllRelated(this); return false;"><?php echo $this->__('select all') ?></a></p>
|
9 |
<ol class="mini-products-list" id="block-related">
|
10 |
<?php foreach($itemArray as $_item): ?>
|
11 |
<li class="item">
|
5 |
<strong><span><?php echo $this->__('Related Products') ?></span></strong>
|
6 |
</div>
|
7 |
<div class="block-content">
|
8 |
+
<p class="block-subtitle"><?php echo $this->__('Check items to add to the cart or') ?> <a href="related.phtml#" onclick="selectAllRelated(this); return false;"><?php echo $this->__('select all') ?></a></p>
|
9 |
<ol class="mini-products-list" id="block-related">
|
10 |
<?php foreach($itemArray as $_item): ?>
|
11 |
<li class="item">
|
app/design/frontend/{base → default}/default/template/yoochoose/tracking.phtml
RENAMED
File without changes
|
app/design/frontend/{base → default}/default/template/yoochoose/upsell.phtml
RENAMED
File without changes
|
package.xml
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>YOOCHOOSE_Recommender_Engine</name>
|
4 |
-
<version>1.
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://www.opensource.org/licenses/osl-3.0.php">OSL v3.0</license>
|
7 |
<channel>community</channel>
|
@@ -60,11 +60,11 @@ Wir legen hohen Wert auf die Einhaltung der Datenschutzverordnungen und Gesetze.
|
|
60 |
Sollten Sie Ihren Firmensitz außerhalb der EU haben, dann profitieren Sie ebenfalls automatisch von unseren hohen Sicherheitsstandards. So wird stets die Privatsphäre Ihrer Kunden gewahrt.
|
61 |
Nutzen Sie unsere kostenlose Testphase! Wir bieten Ihnen den Empfehlungsdienst ohne Bereitstellungsgebühr kostenlos für 30-Tage* an.
|
62 |
*Eingeschränkte Test Version – Beschränkung des Produktumfangs und der Empfehlungsabrufe. Bei Fragen stehen wir Ihnen gerne telefonisch unter der Rufnummer 0221/16800762 sowie unter info@yoochoose.com zur Verfügung.</description>
|
63 |
-
<notes>Added
|
64 |
<authors><author><name>Andreas von Studnitz</name><user>auto-converted</user><email>avs@avs-webentwicklung.de</email></author></authors>
|
65 |
-
<date>2011-04-
|
66 |
-
<time>
|
67 |
-
<contents><target name="mageetc"><dir name="modules"><file name="AvS_Yoochoose.xml" hash="695d97ac588c41c8478b74cf27e24f56"/></dir></target><target name="magecommunity"><dir name="AvS"><dir name="Yoochoose"><dir name="Block"><file name="Crosssell.php" hash="19f6e22fb73a78ba7be2ed3986370943"/><file name="Recommendation.php" hash="476f5590d2613509f6fd3c3781801c57"/><file name="Related.php" hash="84d84555b6fa7ee79f56d75df752d00d"/><file name="Tracking.php" hash="0cee2eac736623c8d7ffdb400c126084"/><file name="Upsell.php" hash="d8f2b4597c96d54e7567e09223841a5b"/></dir><dir name="Helper"><file name="Data.php" hash="88e28453703452bb2b3a1c7fb0822915"/></dir><dir name="Model"><dir name="Api"><dir name="Recommendation"><file name="Crossselling.php" hash="a975b28acc8fb6fe5ef9bdae1ede7c09"/><file name="Related.php" hash="343feb6af7e8cdc2030819437b2c195d"/><file name="Upselling.php" hash="032a35a019762174ef1e1ea569ee61cb"/></dir><file name="Event.php" hash="e8a3294c4ee5cb7eec68d90621cf4774"/><file name="Recommendation.php" hash="840d90c0706a27718549c223c5a480c4"/></dir><file name="Api.php" hash="2ffa2e06e9b745b6759c4f3d0fce6853"/><file name="Observer.php" hash="
|
68 |
<compatible/>
|
69 |
<dependencies/>
|
70 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>YOOCHOOSE_Recommender_Engine</name>
|
4 |
+
<version>1.2.0</version>
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://www.opensource.org/licenses/osl-3.0.php">OSL v3.0</license>
|
7 |
<channel>community</channel>
|
60 |
Sollten Sie Ihren Firmensitz außerhalb der EU haben, dann profitieren Sie ebenfalls automatisch von unseren hohen Sicherheitsstandards. So wird stets die Privatsphäre Ihrer Kunden gewahrt.
|
61 |
Nutzen Sie unsere kostenlose Testphase! Wir bieten Ihnen den Empfehlungsdienst ohne Bereitstellungsgebühr kostenlos für 30-Tage* an.
|
62 |
*Eingeschränkte Test Version – Beschränkung des Produktumfangs und der Empfehlungsabrufe. Bei Fragen stehen wir Ihnen gerne telefonisch unter der Rufnummer 0221/16800762 sowie unter info@yoochoose.com zur Verfügung.</description>
|
63 |
+
<notes>Added compatibility for Magento 1.3.x</notes>
|
64 |
<authors><author><name>Andreas von Studnitz</name><user>auto-converted</user><email>avs@avs-webentwicklung.de</email></author></authors>
|
65 |
+
<date>2011-04-21</date>
|
66 |
+
<time>13:34:16</time>
|
67 |
+
<contents><target name="mageetc"><dir name="modules"><file name="AvS_Yoochoose.xml" hash="695d97ac588c41c8478b74cf27e24f56"/></dir></target><target name="magecommunity"><dir name="AvS"><dir name="Yoochoose"><dir name="Block"><file name="Crosssell.php" hash="19f6e22fb73a78ba7be2ed3986370943"/><file name="Recommendation.php" hash="476f5590d2613509f6fd3c3781801c57"/><file name="Related.php" hash="84d84555b6fa7ee79f56d75df752d00d"/><file name="Tracking.php" hash="0cee2eac736623c8d7ffdb400c126084"/><file name="Upsell.php" hash="d8f2b4597c96d54e7567e09223841a5b"/></dir><dir name="Helper"><file name="Data.php" hash="88e28453703452bb2b3a1c7fb0822915"/></dir><dir name="Model"><dir name="Api"><dir name="Recommendation"><file name="Crossselling.php" hash="a975b28acc8fb6fe5ef9bdae1ede7c09"/><file name="Related.php" hash="343feb6af7e8cdc2030819437b2c195d"/><file name="Upselling.php" hash="032a35a019762174ef1e1ea569ee61cb"/></dir><file name="Event.php" hash="e8a3294c4ee5cb7eec68d90621cf4774"/><file name="Recommendation.php" hash="840d90c0706a27718549c223c5a480c4"/></dir><file name="Api.php" hash="2ffa2e06e9b745b6759c4f3d0fce6853"/><file name="Observer.php" hash="7eb160372a4b2083c47c0a02b9f9d5e2"/></dir><dir name="etc"><file name="config.xml" hash="fdef729426792a59c9d856a8af221aa3"/><file name="system.xml" hash="b0c065dd22b27fa2034462bc8076b75e"/></dir><dir name="sql"><dir name="yoochoose_setup"><file name="mysql4-install-0.1.0.php" hash="d5c03520d481885434e75819007701a0"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="default"><dir name="default"><dir name="template"><dir name="yoochoose"><file name="crosssell.phtml" hash="ed022f89202e2f41536a4f71bc3c491f"/><file name="recommendation.phtml" hash="8f6024432a96168f276670135fbe371d"/><file name="related.phtml" hash="04ea700df2c84cc4ea2cc12df5fec95b"/><file name="tracking.phtml" hash="b981947607bfcb8d0cf15eaec70cb380"/><file name="upsell.phtml" hash="5b39cafe647f645c080420b50299c5ba"/></dir></dir><dir name="layout"><file name="yoochoose.xml" hash="56b7ed57066f29e412e75cf55d3a0d21"/></dir></dir></dir></dir></target><target name="magelocale"><dir name="de_DE"><file name="AvS_Yoochoose.csv" hash="33c25b1743602613c850a9e50642ab15"/></dir></target></contents>
|
68 |
<compatible/>
|
69 |
<dependencies/>
|
70 |
</package>
|