Version Notes
Expertrec Recommendation plugin for magento sites.
Download this release
Release Info
Developer | melchi |
Extension | Expertrec_Recommendation |
Version | 1.2.10 |
Comparing to | |
See all releases |
Code changes from version 1.2.9 to 1.2.10
- app/code/community/Expertrec/Recommendation/Model/Feed/Feedcreator.php +13 -5
- app/code/community/Expertrec/Recommendation/controllers/ApiController.php +3 -2
- app/code/community/Expertrec/Recommendation/etc/config.xml +1 -1
- app/code/community/Expertrec/Recommendation/sql/expertrec_setup/{mysql4-install-1.2.9.php → mysql4-install-1.2.10.php} +1 -1
- app/code/community/Expertrec/Recommendation/sql/expertrec_setup/{mysql4-upgrade-1.2.8-1.2.9.php → mysql4-upgrade-1.2.9-1.2.10.php} +3 -2
- package.xml +4 -4
app/code/community/Expertrec/Recommendation/Model/Feed/Feedcreator.php
CHANGED
@@ -64,11 +64,18 @@ class Expertrec_Recommendation_Model_Feed_Feedcreator {
|
|
64 |
$logger->log("Collecting feed for page: #".$currentPage);
|
65 |
$collection->setCurPage($currentPage);
|
66 |
foreach ($collection as $product) {
|
67 |
-
|
68 |
-
|
69 |
-
|
70 |
-
|
71 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
72 |
}
|
73 |
$collection->clear();
|
74 |
}
|
@@ -80,6 +87,7 @@ class Expertrec_Recommendation_Model_Feed_Feedcreator {
|
|
80 |
return true;
|
81 |
}catch (Exception $e) {
|
82 |
$logger->log("Error in feed creation:--".$e->getMessage());
|
|
|
83 |
return false;
|
84 |
}
|
85 |
}
|
64 |
$logger->log("Collecting feed for page: #".$currentPage);
|
65 |
$collection->setCurPage($currentPage);
|
66 |
foreach ($collection as $product) {
|
67 |
+
try{
|
68 |
+
|
69 |
+
$aRow = $formatter->prepareRow($this->_ofields,$product);
|
70 |
+
|
71 |
+
//writing data row
|
72 |
+
$this->_oWriter->writeDataRow($aRow);
|
73 |
+
}
|
74 |
+
catch (Exception $e) {
|
75 |
+
$logger->log("Error in feed creation for page:--".$e->getMessage());
|
76 |
+
$logger->log('callstack on error in feed creation per page : '.mageDebugBacktrace(true, true, true));
|
77 |
+
// continue;
|
78 |
+
}
|
79 |
}
|
80 |
$collection->clear();
|
81 |
}
|
87 |
return true;
|
88 |
}catch (Exception $e) {
|
89 |
$logger->log("Error in feed creation:--".$e->getMessage());
|
90 |
+
$logger->log('callstack on error in feed creation : '.mageDebugBacktrace(true, true, true));
|
91 |
return false;
|
92 |
}
|
93 |
}
|
app/code/community/Expertrec/Recommendation/controllers/ApiController.php
CHANGED
@@ -27,7 +27,7 @@ class Expertrec_Recommendation_ApiController extends Mage_Core_Controller_Front_
|
|
27 |
const PUSHED_FEED_PAGES = 'expertrec/general/expertrec_feed_pushed_pages';
|
28 |
|
29 |
|
30 |
-
const BUILD_NO = "
|
31 |
private $_password;
|
32 |
private $_websiteId = array();
|
33 |
private $_storeId = array();
|
@@ -786,7 +786,7 @@ class Expertrec_Recommendation_ApiController extends Mage_Core_Controller_Front_
|
|
786 |
//ver & host
|
787 |
$siteArray['mage_ver'] = Mage::getVersion();
|
788 |
$siteArray['php_ver'] = phpversion();
|
789 |
-
$siteArray['expertrec_ver'] = '1.2.
|
790 |
// currency details
|
791 |
$siteArray['baseCurrency'] = Mage::app()->getStore()->getBaseCurrencyCode();
|
792 |
$baseCurrencyCode = Mage::app()->getBaseCurrencyCode();
|
@@ -1117,6 +1117,7 @@ class Expertrec_Recommendation_ApiController extends Mage_Core_Controller_Front_
|
|
1117 |
|
1118 |
}catch (Exception $e) {
|
1119 |
$logger->log( "Not able to pull the feed: ".$e->getMessage());
|
|
|
1120 |
}
|
1121 |
}
|
1122 |
|
27 |
const PUSHED_FEED_PAGES = 'expertrec/general/expertrec_feed_pushed_pages';
|
28 |
|
29 |
|
30 |
+
const BUILD_NO = "1492435529";
|
31 |
private $_password;
|
32 |
private $_websiteId = array();
|
33 |
private $_storeId = array();
|
786 |
//ver & host
|
787 |
$siteArray['mage_ver'] = Mage::getVersion();
|
788 |
$siteArray['php_ver'] = phpversion();
|
789 |
+
$siteArray['expertrec_ver'] = '1.2.10';
|
790 |
// currency details
|
791 |
$siteArray['baseCurrency'] = Mage::app()->getStore()->getBaseCurrencyCode();
|
792 |
$baseCurrencyCode = Mage::app()->getBaseCurrencyCode();
|
1117 |
|
1118 |
}catch (Exception $e) {
|
1119 |
$logger->log( "Not able to pull the feed: ".$e->getMessage());
|
1120 |
+
$logger->log('callstack on error in pull feed : '.mageDebugBacktrace(true, true, true));
|
1121 |
}
|
1122 |
}
|
1123 |
|
app/code/community/Expertrec/Recommendation/etc/config.xml
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
<config>
|
3 |
<modules>
|
4 |
<Expertrec_Recommendation>
|
5 |
-
<version>1.2.
|
6 |
</Expertrec_Recommendation>
|
7 |
</modules>
|
8 |
<global>
|
2 |
<config>
|
3 |
<modules>
|
4 |
<Expertrec_Recommendation>
|
5 |
+
<version>1.2.10</version>
|
6 |
</Expertrec_Recommendation>
|
7 |
</modules>
|
8 |
<global>
|
app/code/community/Expertrec/Recommendation/sql/expertrec_setup/{mysql4-install-1.2.9.php → mysql4-install-1.2.10.php}
RENAMED
@@ -17,7 +17,7 @@ $result['status'] = "Installed";
|
|
17 |
//magento version
|
18 |
$result['mage_ver'] = $mage_ver;
|
19 |
//expertrec version
|
20 |
-
$result['expertrec_ver'] = '1.2.
|
21 |
$result['php_ver'] = $php_ver;
|
22 |
|
23 |
if (isset($_SERVER['HTTPS']) &&
|
17 |
//magento version
|
18 |
$result['mage_ver'] = $mage_ver;
|
19 |
//expertrec version
|
20 |
+
$result['expertrec_ver'] = '1.2.10';
|
21 |
$result['php_ver'] = $php_ver;
|
22 |
|
23 |
if (isset($_SERVER['HTTPS']) &&
|
app/code/community/Expertrec/Recommendation/sql/expertrec_setup/{mysql4-upgrade-1.2.8-1.2.9.php → mysql4-upgrade-1.2.9-1.2.10.php}
RENAMED
@@ -18,7 +18,7 @@ $result['status'] = "Upgraded";
|
|
18 |
//magento version
|
19 |
$result['mage_ver'] = $mage_ver;
|
20 |
//expertrec version
|
21 |
-
$result['expertrec_ver'] = '1.2.
|
22 |
$result['php_ver'] = $php_ver;
|
23 |
|
24 |
if (isset($_SERVER['HTTPS']) &&
|
@@ -30,9 +30,10 @@ if (isset($_SERVER['HTTPS']) &&
|
|
30 |
else {
|
31 |
$protocol = 'http';
|
32 |
}
|
33 |
-
|
34 |
//hostname
|
35 |
$result['site_protocol'] = $protocol;
|
|
|
|
|
36 |
$result['site_host'] = $host;
|
37 |
//Subdomain
|
38 |
$result['site_subdomain'] = $uri;
|
18 |
//magento version
|
19 |
$result['mage_ver'] = $mage_ver;
|
20 |
//expertrec version
|
21 |
+
$result['expertrec_ver'] = '1.2.10';
|
22 |
$result['php_ver'] = $php_ver;
|
23 |
|
24 |
if (isset($_SERVER['HTTPS']) &&
|
30 |
else {
|
31 |
$protocol = 'http';
|
32 |
}
|
|
|
33 |
//hostname
|
34 |
$result['site_protocol'] = $protocol;
|
35 |
+
|
36 |
+
|
37 |
$result['site_host'] = $host;
|
38 |
//Subdomain
|
39 |
$result['site_subdomain'] = $uri;
|
package.xml
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Expertrec_Recommendation</name>
|
4 |
-
<version>1.2.
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://opensource.org/licenses/osl-3.0.php">Open Software License (OSL)</license>
|
7 |
<channel>community</channel>
|
@@ -10,9 +10,9 @@
|
|
10 |
<description>Expertrec search extension helps you have complete control over your site search results. You will be able to add instant autocomplete, spell corrections that learn from the user behaviour on your site, and show product recommendations within the search user interface. It also adds search results pages with facets, sorting by different attributes.</description>
|
11 |
<notes>Expertrec Recommendation plugin for magento sites.</notes>
|
12 |
<authors><author><name>melchi</name><user>melchi</user><email>magento@cloudinfra.in</email></author><author><name>magento</name><user>magento</user><email>magento-team@cloudinfra.in</email></author></authors>
|
13 |
-
<date>2017-04-
|
14 |
-
<time>
|
15 |
-
<contents><target name="magecommunity"><dir name="Expertrec"><dir name="Recommendation"><dir name="Block"><file name="Api.php" hash="c3c8aaecba77a27e228cb3cec34fa8dc"/></dir><dir name="Helper"><file name="Autocompletehelper.php" hash="7bd733d91f69091c1f6f5bb162467a43"/><file name="Data.php" hash="c3d423049c2d2b347258171b59d61848"/><file name="Filehelper.php" hash="deeb1e764f7fc7c1d749cb0ab2be64aa"/><dir name="Search"><file name="Layout.php" hash="c68c9d6c4def7daca0a0ae332dceaff3"/></dir><file name="Suggestionhelper.php" hash="1c34f031a920b07950420e148dff8e93"/></dir><dir name="Model"><dir name="Api"><file name="Request.php" hash="dd34241f00c6bea36700f768a3feef6e"/></dir><dir name="Feed"><file name="Feedconfig.php" hash="de0c332e9e1b4eb6c021feaa927d8250"/><file name="Feedcreator.php" hash="
|
16 |
<compatible/>
|
17 |
<dependencies><required><php><min>5.3.0</min><max>6.0.0</max></php></required></dependencies>
|
18 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Expertrec_Recommendation</name>
|
4 |
+
<version>1.2.10</version>
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://opensource.org/licenses/osl-3.0.php">Open Software License (OSL)</license>
|
7 |
<channel>community</channel>
|
10 |
<description>Expertrec search extension helps you have complete control over your site search results. You will be able to add instant autocomplete, spell corrections that learn from the user behaviour on your site, and show product recommendations within the search user interface. It also adds search results pages with facets, sorting by different attributes.</description>
|
11 |
<notes>Expertrec Recommendation plugin for magento sites.</notes>
|
12 |
<authors><author><name>melchi</name><user>melchi</user><email>magento@cloudinfra.in</email></author><author><name>magento</name><user>magento</user><email>magento-team@cloudinfra.in</email></author></authors>
|
13 |
+
<date>2017-04-17</date>
|
14 |
+
<time>13:27:08</time>
|
15 |
+
<contents><target name="magecommunity"><dir name="Expertrec"><dir name="Recommendation"><dir name="Block"><file name="Api.php" hash="c3c8aaecba77a27e228cb3cec34fa8dc"/></dir><dir name="Helper"><file name="Autocompletehelper.php" hash="7bd733d91f69091c1f6f5bb162467a43"/><file name="Data.php" hash="c3d423049c2d2b347258171b59d61848"/><file name="Filehelper.php" hash="deeb1e764f7fc7c1d749cb0ab2be64aa"/><dir name="Search"><file name="Layout.php" hash="c68c9d6c4def7daca0a0ae332dceaff3"/></dir><file name="Suggestionhelper.php" hash="1c34f031a920b07950420e148dff8e93"/></dir><dir name="Model"><dir name="Api"><file name="Request.php" hash="dd34241f00c6bea36700f768a3feef6e"/></dir><dir name="Feed"><file name="Feedconfig.php" hash="de0c332e9e1b4eb6c021feaa927d8250"/><file name="Feedcreator.php" hash="a015128e2a4df0228317ef13212bf207"/><file name="Feedfilter.php" hash="c278681d9cf0fa03d62c308a73151eb2"/><file name="Formatter.php" hash="51866f6b6dcd8af0661cc31ff22a0ae1"/></dir><file name="Feed.php" hash="ddac87d6a060bc77fb7718e7b19e1273"/><file name="Log.php" hash="27fcee49e67fe2be761b4af94aecff2b"/><file name="Observer.php" hash="d8255a403080564c29218c9eefea709d"/><dir name="Translator"><file name="Category.php" hash="45402cee2ff6e204dac6471a3a9d5ea4"/></dir><file name="Validate.php" hash="f15e87fc29af912376b149307c731acc"/><dir name="Writer"><file name="Abstract.php" hash="6b5153c0a09f8d4ee6fe4cedc5ec8a64"/><file name="Csv.php" hash="427fea44d988302f409e1860c18875b1"/></dir></dir><dir name="controllers"><dir name="Adminhtml"><file name="IndexController.php" hash="c4f80c214d11fd531496e71b4951b27f"/></dir><file name="ApiController.php" hash="7d98dbf4537b741d3cb8859823ef8962"/><dir name="CatalogSearch"><file name="ResultController.php" hash="e740f44c0cef4aa83545f2278626e7de"/></dir><file name="ConfigController.php" hash="0fd9a9686806c26635c7db0a57a0f4ab"/><file name="IndexController.php" hash="7bfaa867dfa9bed0c7b0ebd634d2e2bb"/></dir><dir name="etc"><file name="adminhtml.xml" hash="0b24b4132ac25269fecc9fcee0d0d446"/><file name="config.xml" hash="3a6e4331e77c923190e290b29e671945"/></dir><dir name="sql"><dir name="expertrec_setup"><file name="mysql4-install-1.2.10.php" hash="fc693b1cb67f0b7057975a7ab4ba3645"/><file name="mysql4-upgrade-1.2.9-1.2.10.php" hash="abf70f95f68c162c1abb052ddeb1243c"/></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Expertrec_Recommendation.xml" hash="c314465f907c89dfe912035be8d48e71"/></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><dir name="expertrec"><file name="recommendation.xml" hash="a1d166c3c3e665b476aaef69e0e6b792"/></dir></dir><dir name="template"><dir name="expertrec"><dir name="feed"><file name="info.phtml" hash="12aa7b095144dddd925369209a2f4478"/></dir><dir name="recommendation"><file name="tracker.phtml" hash="bb659fbb514d14037c0e798eff71d152"/><dir name="tracking"><file name="product.phtml" hash="e02d3f870397cf351bc0ff7ca864c7e2"/></dir></dir><dir name="search"><file name="custom.phtml" hash="0f162aa949c00329e3697f0a71abc43d"/><file name="list.phtml" hash="cda3f434a1e70f1272f62bb9f0848726"/><file name="view.phtml" hash="ecb9a55f6128bef2f10d66528dc5424b"/></dir></dir></dir></dir></dir></dir><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><dir name="expertrec"><file name="recommendation.xml" hash="115d3023af9566c37e39d003a25e031a"/></dir></dir><dir name="template"><dir name="expertrec"><dir name="recommendation"><file name="notifications.phtml" hash="4f965be2e3ed310a8b4ce271ad064ee4"/></dir></dir></dir></dir></dir></dir></target></contents>
|
16 |
<compatible/>
|
17 |
<dependencies><required><php><min>5.3.0</min><max>6.0.0</max></php></required></dependencies>
|
18 |
</package>
|