Version Notes
Expertrec Recommendation plugin for magento sites.
Download this release
Release Info
Developer | melchi |
Extension | Expertrec_Recommendation |
Version | 1.2.9 |
Comparing to | |
See all releases |
Code changes from version 1.2.8 to 1.2.9
- app/code/community/Expertrec/Recommendation/controllers/ApiController.php +2 -2
- app/code/community/Expertrec/Recommendation/etc/config.xml +1 -1
- app/code/community/Expertrec/Recommendation/sql/expertrec_setup/{mysql4-install-1.2.8.php → mysql4-install-1.2.9.php} +13 -2
- app/code/community/Expertrec/Recommendation/sql/expertrec_setup/{mysql4-upgrade-1.2.7-1.2.8.php → mysql4-upgrade-1.2.8-1.2.9.php} +13 -2
- app/design/frontend/base/default/template/expertrec/recommendation/tracker.phtml +6 -7
- package.xml +4 -4
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();
|
27 |
const PUSHED_FEED_PAGES = 'expertrec/general/expertrec_feed_pushed_pages';
|
28 |
|
29 |
|
30 |
+
const BUILD_NO = "1492167353";
|
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.9';
|
790 |
// currency details
|
791 |
$siteArray['baseCurrency'] = Mage::app()->getStore()->getBaseCurrencyCode();
|
792 |
$baseCurrencyCode = Mage::app()->getBaseCurrencyCode();
|
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.9</version>
|
6 |
</Expertrec_Recommendation>
|
7 |
</modules>
|
8 |
<global>
|
app/code/community/Expertrec/Recommendation/sql/expertrec_setup/{mysql4-install-1.2.8.php → mysql4-install-1.2.9.php}
RENAMED
@@ -8,7 +8,7 @@ $mage_ver = Mage::getVersion();
|
|
8 |
$php_ver = phpversion();
|
9 |
$host = $_SERVER['HTTP_HOST'];
|
10 |
$uri = $_SERVER['SCRIPT_NAME'];
|
11 |
-
$protocol = $_SERVER['REQUEST_SCHEME'];
|
12 |
$installer->startSetup();
|
13 |
|
14 |
$result =array();
|
@@ -17,8 +17,19 @@ $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 |
//Subdomain
|
23 |
$result['site_subdomain'] = $uri;
|
24 |
//hostname
|
8 |
$php_ver = phpversion();
|
9 |
$host = $_SERVER['HTTP_HOST'];
|
10 |
$uri = $_SERVER['SCRIPT_NAME'];
|
11 |
+
// $protocol = $_SERVER['REQUEST_SCHEME'];
|
12 |
$installer->startSetup();
|
13 |
|
14 |
$result =array();
|
17 |
//magento version
|
18 |
$result['mage_ver'] = $mage_ver;
|
19 |
//expertrec version
|
20 |
+
$result['expertrec_ver'] = '1.2.9';
|
21 |
$result['php_ver'] = $php_ver;
|
22 |
+
|
23 |
+
if (isset($_SERVER['HTTPS']) &&
|
24 |
+
($_SERVER['HTTPS'] == 'on' || $_SERVER['HTTPS'] == 1) ||
|
25 |
+
isset($_SERVER['HTTP_X_FORWARDED_PROTO']) &&
|
26 |
+
$_SERVER['HTTP_X_FORWARDED_PROTO'] == 'https') {
|
27 |
+
$protocol = 'https';
|
28 |
+
}
|
29 |
+
else {
|
30 |
+
$protocol = 'http';
|
31 |
+
}
|
32 |
+
|
33 |
//Subdomain
|
34 |
$result['site_subdomain'] = $uri;
|
35 |
//hostname
|
app/code/community/Expertrec/Recommendation/sql/expertrec_setup/{mysql4-upgrade-1.2.7-1.2.8.php → mysql4-upgrade-1.2.8-1.2.9.php}
RENAMED
@@ -8,7 +8,7 @@ $mage_ver = Mage::getVersion();
|
|
8 |
$php_ver = phpversion();
|
9 |
$host = $_SERVER['HTTP_HOST'];
|
10 |
$uri = $_SERVER['SCRIPT_NAME'];
|
11 |
-
$protocol = $_SERVER['REQUEST_SCHEME'];
|
12 |
|
13 |
$installer->startSetup();
|
14 |
|
@@ -18,8 +18,19 @@ $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 |
//hostname
|
24 |
$result['site_protocol'] = $protocol;
|
25 |
$result['site_host'] = $host;
|
8 |
$php_ver = phpversion();
|
9 |
$host = $_SERVER['HTTP_HOST'];
|
10 |
$uri = $_SERVER['SCRIPT_NAME'];
|
11 |
+
// $protocol = $_SERVER['REQUEST_SCHEME'];
|
12 |
|
13 |
$installer->startSetup();
|
14 |
|
18 |
//magento version
|
19 |
$result['mage_ver'] = $mage_ver;
|
20 |
//expertrec version
|
21 |
+
$result['expertrec_ver'] = '1.2.9';
|
22 |
$result['php_ver'] = $php_ver;
|
23 |
+
|
24 |
+
if (isset($_SERVER['HTTPS']) &&
|
25 |
+
($_SERVER['HTTPS'] == 'on' || $_SERVER['HTTPS'] == 1) ||
|
26 |
+
isset($_SERVER['HTTP_X_FORWARDED_PROTO']) &&
|
27 |
+
$_SERVER['HTTP_X_FORWARDED_PROTO'] == 'https') {
|
28 |
+
$protocol = 'https';
|
29 |
+
}
|
30 |
+
else {
|
31 |
+
$protocol = 'http';
|
32 |
+
}
|
33 |
+
|
34 |
//hostname
|
35 |
$result['site_protocol'] = $protocol;
|
36 |
$result['site_host'] = $host;
|
app/design/frontend/base/default/template/expertrec/recommendation/tracker.phtml
CHANGED
@@ -30,16 +30,15 @@ if(typeof expertSiteConf == 'undefined' || expertSiteConf == null) {
|
|
30 |
}
|
31 |
|
32 |
//Add website and store id
|
33 |
-
|
34 |
-
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
?>
|
39 |
|
40 |
/* * * DON'T EDIT BELOW LINE * * */
|
41 |
|
42 |
-
(function(){var domain=window.location.hostname.replace(/\./g,""),ea=document.createElement('script');ea.type='text/javascript';ea.async=true;ea.src='//d3qm5o86jyjko6.cloudfront.net/
|
43 |
|
44 |
|
45 |
</script>
|
30 |
}
|
31 |
|
32 |
//Add website and store id
|
33 |
+
window.expertrecconf = {
|
34 |
+
merchantId:"<?php echo Mage::getStoreConfig('expertrec/general/mid');?>",
|
35 |
+
webId:"<?php echo Mage::app()->getWebsite()->getId();?>",
|
36 |
+
storeId: "<?php echo Mage::app()->getStore()->getId(); ?>",
|
37 |
+
currency: "<?php echo Mage::app()->getStore()->getCurrentCurrencyCode(); ?>"};
|
|
|
38 |
|
39 |
/* * * DON'T EDIT BELOW LINE * * */
|
40 |
|
41 |
+
(function(){var domain=window.location.hostname.replace(/\./g,""),ea=document.createElement('script');ea.type='text/javascript';ea.async=true;ea.src='//d3qm5o86jyjko6.cloudfront.net/magento/expertrec_'+domain+'.js';var m=document.getElementsByTagName('script')[0];m.parentNode.insertBefore(ea,m)})();var _eaq=_eaq || [];function expertApi(){if(window.expertrec_true){var args=Array.prototype.slice.call(arguments);window.ea_apispec[args[0]](args.slice(1,args.length))}else{_eaq.push(arguments);}}
|
42 |
|
43 |
|
44 |
</script>
|
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="1115f203ea1bda87b423078c19ce543e"/><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="
|
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.9</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-14</date>
|
14 |
+
<time>10:56:42</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="1115f203ea1bda87b423078c19ce543e"/><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="51b065bd1d6c5f9f97e1d5570e0f231c"/><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="3cde81259f2d50e533f2c2a0728e923d"/></dir><dir name="sql"><dir name="expertrec_setup"><file name="mysql4-install-1.2.9.php" hash="953c9209bfa95842b96c72848cf5e459"/><file name="mysql4-upgrade-1.2.8-1.2.9.php" hash="0a4dd654cc571cc87599d16c0063ed57"/></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>
|