Version Notes
Any questions or concerns, please email cs@tagalys.com and we will get back to you in less than 24 hours.
Download this release
Release Info
Developer | Aaditya |
Extension | Personalized-localized-and-Intelligent-Site-Search |
Version | 1.0.8 |
Comparing to | |
See all releases |
Code changes from version 1.0.7 to 1.0.8
- app/code/local/Tagalys/Sync/Helper/Service.php +1 -1
- app/code/local/Tagalys/Sync/Model/Client.php +0 -4
- app/code/local/Tagalys/Sync/controllers/FeedController.php +14 -11
- app/code/local/Tagalys/Sync/etc/config.xml +2 -2
- app/code/local/Tagalys/Tsearch/Block/Catalogsearch/Layer/View.php +1 -1
- app/code/local/Tagalys/Tsearch/etc/config.xml +2 -2
- package.xml +5 -5
app/code/local/Tagalys/Sync/Helper/Service.php
CHANGED
@@ -273,7 +273,7 @@ class Tagalys_Sync_Helper_Service extends Mage_Core_Helper_Abstract {
|
|
273 |
array_push($types, array("value" => "price"));
|
274 |
foreach ($types as $key => $value) {
|
275 |
if($value["value"] == "price") {
|
276 |
-
$typemap[$value["value"]] = "
|
277 |
} elseif ($value["value"] == "boolean") {
|
278 |
$typemap[$value["value"]] = "boolean";
|
279 |
} elseif ($value["value"] == "date") {
|
273 |
array_push($types, array("value" => "price"));
|
274 |
foreach ($types as $key => $value) {
|
275 |
if($value["value"] == "price") {
|
276 |
+
$typemap[$value["value"]] = "float";
|
277 |
} elseif ($value["value"] == "boolean") {
|
278 |
$typemap[$value["value"]] = "boolean";
|
279 |
} elseif ($value["value"] == "date") {
|
app/code/local/Tagalys/Sync/Model/Client.php
CHANGED
@@ -115,10 +115,6 @@ class Tagalys_Sync_Model_Client extends Mage_Core_Model_Abstract
|
|
115 |
$result = curl_exec($agent);
|
116 |
$info = curl_getinfo($agent);
|
117 |
|
118 |
-
Mage::log("Tagalys Request info: ".json_encode($info),null,'request.log');
|
119 |
-
Mage::log("Tagalys Request payload: ".($payload),null,'request.log');
|
120 |
-
Mage::log("Tagalys Response: ".($result),null,'request.log');
|
121 |
-
|
122 |
if(curl_errno($agent)) {
|
123 |
$this->_error = true;
|
124 |
} else {
|
115 |
$result = curl_exec($agent);
|
116 |
$info = curl_getinfo($agent);
|
117 |
|
|
|
|
|
|
|
|
|
118 |
if(curl_errno($agent)) {
|
119 |
$this->_error = true;
|
120 |
} else {
|
app/code/local/Tagalys/Sync/controllers/FeedController.php
CHANGED
@@ -39,22 +39,25 @@ class Tagalys_Sync_FeedController extends Mage_Core_Controller_Front_Action
|
|
39 |
}
|
40 |
|
41 |
unlink(Mage::getBaseDir("media"). DS ."tagalys" . DS."tagalys-sync-progress-".$output["identification"]["store_id"].".json");
|
|
|
42 |
$plugin_to_be_activated = Mage::getStoreConfig('tagalys_endpoint/endpoint/plugin_to_be_activated');
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
} catch (Exception $e) {
|
50 |
return false;
|
51 |
}
|
52 |
|
53 |
-
|
54 |
-
|
55 |
-
|
56 |
|
57 |
-
|
|
|
|
|
|
|
|
|
58 |
}
|
59 |
|
60 |
public function progressAction() {
|
39 |
}
|
40 |
|
41 |
unlink(Mage::getBaseDir("media"). DS ."tagalys" . DS."tagalys-sync-progress-".$output["identification"]["store_id"].".json");
|
42 |
+
|
43 |
$plugin_to_be_activated = Mage::getStoreConfig('tagalys_endpoint/endpoint/plugin_to_be_activated');
|
44 |
+
foreach (explode(",", $plugin_to_be_activated) as $key => $value) {
|
45 |
+
Mage::helper('tagalys_core')->setTagalysConfig('is_'.$value.'_active', 1);
|
46 |
+
}
|
47 |
+
echo json_encode(array("installed_plugin" => Mage::getStoreConfig('tagalys_endpoint/endpoint/installed_plugin')));
|
48 |
+
} else {
|
|
|
|
|
49 |
return false;
|
50 |
}
|
51 |
|
52 |
+
} catch (Exception $e) {
|
53 |
+
return false;
|
54 |
+
}
|
55 |
|
56 |
+
if(Mage::helper('tagalys_core')->setupCompelete()){
|
57 |
+
Mage::helper('tagalys_core')->setTagalysConfig('setup_complete', 1);
|
58 |
+
Mage::helper('tagalys_core')->setTagalysConfig('search_complete', 1);
|
59 |
+
|
60 |
+
}
|
61 |
}
|
62 |
|
63 |
public function progressAction() {
|
app/code/local/Tagalys/Sync/etc/config.xml
CHANGED
@@ -8,8 +8,8 @@
|
|
8 |
<client_config>/v1/configuration</client_config>
|
9 |
<sync_feed_progress>/v1/products/sync_feed_progress</sync_feed_progress>
|
10 |
<api_auth>/v1/identification/check</api_auth>
|
11 |
-
<installed_plugin>
|
12 |
-
<plugin_to_be_activated>
|
13 |
</endpoint>
|
14 |
</tagalys_endpoint>
|
15 |
</default>
|
8 |
<client_config>/v1/configuration</client_config>
|
9 |
<sync_feed_progress>/v1/products/sync_feed_progress</sync_feed_progress>
|
10 |
<api_auth>/v1/identification/check</api_auth>
|
11 |
+
<installed_plugin>Search Suggestions</installed_plugin>
|
12 |
+
<plugin_to_be_activated>tsearchsuggestion</plugin_to_be_activated>
|
13 |
</endpoint>
|
14 |
</tagalys_endpoint>
|
15 |
</default>
|
app/code/local/Tagalys/Tsearch/Block/Catalogsearch/Layer/View.php
CHANGED
@@ -64,7 +64,7 @@ class Tagalys_Tsearch_Block_Catalogsearch_Layer_View extends Mage_Catalog_Block_
|
|
64 |
->init();
|
65 |
|
66 |
|
67 |
-
|
68 |
$this->setChild('category_filter', $categoryBlock);
|
69 |
// $this->createCategoriesBlock();
|
70 |
|
64 |
->init();
|
65 |
|
66 |
|
67 |
+
$this->setChild('layer_state', $stateBlock);
|
68 |
$this->setChild('category_filter', $categoryBlock);
|
69 |
// $this->createCategoriesBlock();
|
70 |
|
app/code/local/Tagalys/Tsearch/etc/config.xml
CHANGED
@@ -42,11 +42,11 @@
|
|
42 |
<result>Tagalys_Tsearch_Block_Catalogsearch_Result</result>
|
43 |
</rewrite>
|
44 |
</catalogsearch> -->
|
45 |
-
<
|
46 |
<rewrite>
|
47 |
<layer>Tagalys_Tsearch_Block_Catalogsearch_Layer_View</layer>
|
48 |
</rewrite>
|
49 |
-
</
|
50 |
<!-- <catalog>
|
51 |
<rewrite>
|
52 |
<state>Mage_Catalog_Block_Layer_State</state>
|
42 |
<result>Tagalys_Tsearch_Block_Catalogsearch_Result</result>
|
43 |
</rewrite>
|
44 |
</catalogsearch> -->
|
45 |
+
<catalogsearch>
|
46 |
<rewrite>
|
47 |
<layer>Tagalys_Tsearch_Block_Catalogsearch_Layer_View</layer>
|
48 |
</rewrite>
|
49 |
+
</catalogsearch>
|
50 |
<!-- <catalog>
|
51 |
<rewrite>
|
52 |
<state>Mage_Catalog_Block_Layer_State</state>
|
package.xml
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Personalized-localized-and-Intelligent-Site-Search</name>
|
4 |
-
<version>1.0.
|
5 |
<stability>stable</stability>
|
6 |
<license>Tagalys</license>
|
7 |
<channel>community</channel>
|
@@ -10,9 +10,9 @@
|
|
10 |
<description>The extension powers search suggestions and resulting search results. Upon clicking the search bar, show visitors the most popular or trending searches in your ecommerce store. When a visitor starts typing, we auto complete the query into suggestions from the active product-tag-attribute database. </description>
|
11 |
<notes>Any questions or concerns, please email cs@tagalys.com and we will get back to you in less than 24 hours. </notes>
|
12 |
<authors><author><name>Aaditya</name><user>Aaditya</user><email>antony@tagalys.com</email></author></authors>
|
13 |
-
<date>2017-02-
|
14 |
-
<time>
|
15 |
-
<contents><target name="magelocal"><dir><dir name="Tagalys"><dir name="SearchSuggestions"><dir name="Block"><dir name="Catalog"><dir name="Layer"><dir name="Filter"><file name="Attribute.php" hash="4a1d6c59a119e36f06a9227b4a648f77"/><file name="Category.php" hash="322d606ca40b6c7a976ec09f5080281a"/></dir></dir><file name="Layer.php" hash="4e72f2b2b8788ba0dce51aa38575e313"/></dir></dir><dir name="Helper"><file name="Data.php" hash="fa1f09a28bb0d3772a4aeb29af8c575b"/></dir><dir name="Model"><dir name="Catalog"><dir name="Layer"><dir name="Filter"><file name="Attribute.php" hash="897b2f76ab974edea9e4dffa176662f7"/><file name="Category.php" hash="c2c91bcd957559e5b4cb0c0ad9268a7f"/></dir></dir></dir></dir><dir name="controllers"><file name="AutoSuggestController.php" hash="8ef45554e5cc780b7e9f020cd19e28c5"/></dir><dir name="etc"><file name="config.xml" hash="854e13ce3dad489f9da4ae63cadf7512"/></dir></dir><dir name="Core"><dir name="Block"><dir name="Adminhtml"><dir name="Tagalys"><dir name="Edit"><file name="Form.php" hash="f03082a193308464a70ddb12929f6445"/><dir name="Tab"><file name="Credentials.php" hash="ed600b42a2fe12222ef352a9a6b0dbd7"/><file name="Setup.php" hash="8a5b190544b9e26e7d29716b8e3946dd"/><file name="Signup.php" hash="db50f6b1f8fe7c10eba8996adaab5b46"/><file name="Sync.php" hash="74956e76d3123abe1360d80d9a2427be"/><file name="Tsearch.php" hash="0f8d06abb0058aa63bb7619d96b54986"/><file name="Tsearchsuggestion.php" hash="66ba155f8119a448ee2c2fdb6e5777d5"/></dir><file name="Tabs.php" hash="1550f021e9c4150834fd47cf3d76fd88"/></dir><file name="Edit.php" hash="b6ed0a6d60ed8437013316ea2bf4ae8c"/><file name="Notifications.php" hash="a8a462e420cffb43dcc9a3501114e01b"/><file name="Progress.php" hash="9de974b3672b91e25f5062d6d76c350d"/><file name="SearchReady.php" hash="9e58736e1eb8cba32ee0b84b19ee7b6c"/></dir></dir></dir><dir name="Helper"><file name="Data.php" hash="0a045aa8949d1f1d6b4c299cf2f5579e"/></dir><dir name="Model"><file name="Config.php" hash="6b1fc527b6ee9b6386669d91ada6c0cb"/><dir name="Mysql4"><dir name="Config"><file name="Collection.php" hash="ea729baf00ac3f73ea70eb36cf182699"/></dir><file name="Config.php" hash="f96196b73e2e9bd2ceaf4b6ba8befb1a"/></dir><file name="Observer.php" hash="e0f877e0a863d413f6c88907aad79514"/></dir><dir name="etc"><file name="adminhtml.xml" hash="7be928fd40cff7dda724457e84736624"/><file name="config.xml" hash="7b26e95fe97248975edd7f2c1c75cb80"/></dir><dir name="sql"><dir name="tagalys_core_setup"><file name="mysql4-install-0.2.0.php" hash="50451682b52f41e0e5a2b656b4ed222f"/></dir></dir></dir><dir name="Sync"><dir name="Helper"><file name="Data.php" hash="f6dbd08edafe1f615818e8ea73d412fd"/><file name="Inventory.php" hash="61a553020607ff202ddb6ea32593cc36"/><file name="Service.php" hash="
|
16 |
<compatible/>
|
17 |
-
<dependencies><required><php><min>5.
|
18 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Personalized-localized-and-Intelligent-Site-Search</name>
|
4 |
+
<version>1.0.8</version>
|
5 |
<stability>stable</stability>
|
6 |
<license>Tagalys</license>
|
7 |
<channel>community</channel>
|
10 |
<description>The extension powers search suggestions and resulting search results. Upon clicking the search bar, show visitors the most popular or trending searches in your ecommerce store. When a visitor starts typing, we auto complete the query into suggestions from the active product-tag-attribute database. </description>
|
11 |
<notes>Any questions or concerns, please email cs@tagalys.com and we will get back to you in less than 24 hours. </notes>
|
12 |
<authors><author><name>Aaditya</name><user>Aaditya</user><email>antony@tagalys.com</email></author></authors>
|
13 |
+
<date>2017-02-07</date>
|
14 |
+
<time>10:03:23</time>
|
15 |
+
<contents><target name="magelocal"><dir><dir name="Tagalys"><dir name="SearchSuggestions"><dir name="Block"><dir name="Catalog"><dir name="Layer"><dir name="Filter"><file name="Attribute.php" hash="4a1d6c59a119e36f06a9227b4a648f77"/><file name="Category.php" hash="322d606ca40b6c7a976ec09f5080281a"/></dir></dir><file name="Layer.php" hash="4e72f2b2b8788ba0dce51aa38575e313"/></dir></dir><dir name="Helper"><file name="Data.php" hash="fa1f09a28bb0d3772a4aeb29af8c575b"/></dir><dir name="Model"><dir name="Catalog"><dir name="Layer"><dir name="Filter"><file name="Attribute.php" hash="897b2f76ab974edea9e4dffa176662f7"/><file name="Category.php" hash="c2c91bcd957559e5b4cb0c0ad9268a7f"/></dir></dir></dir></dir><dir name="controllers"><file name="AutoSuggestController.php" hash="8ef45554e5cc780b7e9f020cd19e28c5"/></dir><dir name="etc"><file name="config.xml" hash="854e13ce3dad489f9da4ae63cadf7512"/></dir></dir><dir name="Core"><dir name="Block"><dir name="Adminhtml"><dir name="Tagalys"><dir name="Edit"><file name="Form.php" hash="f03082a193308464a70ddb12929f6445"/><dir name="Tab"><file name="Credentials.php" hash="ed600b42a2fe12222ef352a9a6b0dbd7"/><file name="Setup.php" hash="8a5b190544b9e26e7d29716b8e3946dd"/><file name="Signup.php" hash="db50f6b1f8fe7c10eba8996adaab5b46"/><file name="Sync.php" hash="74956e76d3123abe1360d80d9a2427be"/><file name="Tsearch.php" hash="0f8d06abb0058aa63bb7619d96b54986"/><file name="Tsearchsuggestion.php" hash="66ba155f8119a448ee2c2fdb6e5777d5"/></dir><file name="Tabs.php" hash="1550f021e9c4150834fd47cf3d76fd88"/></dir><file name="Edit.php" hash="b6ed0a6d60ed8437013316ea2bf4ae8c"/><file name="Notifications.php" hash="a8a462e420cffb43dcc9a3501114e01b"/><file name="Progress.php" hash="9de974b3672b91e25f5062d6d76c350d"/><file name="SearchReady.php" hash="9e58736e1eb8cba32ee0b84b19ee7b6c"/></dir></dir></dir><dir name="Helper"><file name="Data.php" hash="0a045aa8949d1f1d6b4c299cf2f5579e"/></dir><dir name="Model"><file name="Config.php" hash="6b1fc527b6ee9b6386669d91ada6c0cb"/><dir name="Mysql4"><dir name="Config"><file name="Collection.php" hash="ea729baf00ac3f73ea70eb36cf182699"/></dir><file name="Config.php" hash="f96196b73e2e9bd2ceaf4b6ba8befb1a"/></dir><file name="Observer.php" hash="e0f877e0a863d413f6c88907aad79514"/></dir><dir name="etc"><file name="adminhtml.xml" hash="7be928fd40cff7dda724457e84736624"/><file name="config.xml" hash="7b26e95fe97248975edd7f2c1c75cb80"/></dir><dir name="sql"><dir name="tagalys_core_setup"><file name="mysql4-install-0.2.0.php" hash="50451682b52f41e0e5a2b656b4ed222f"/></dir></dir></dir><dir name="Sync"><dir name="Helper"><file name="Data.php" hash="f6dbd08edafe1f615818e8ea73d412fd"/><file name="Inventory.php" hash="61a553020607ff202ddb6ea32593cc36"/><file name="Service.php" hash="84cc6f7415e416225c3740c8d20521c1"/><file name="TagalysFeedFactory.php" hash="eda6643eaf3840321c57a48db8eb5a51"/></dir><dir name="Model"><dir name="Adminhtml"><dir name="System"><dir name="Config"><dir name="Backend"><dir name="Tagalys"><file name="Cron.php" hash="497ea5cee9239e97275b87743a4341a8"/></dir></dir></dir></dir></dir><file name="Client.php" hash="51fcb3d9c5e6c0f812148656666b382c"/><dir name="Dataflow"><dir name="Convert"><dir name="Adapter"><file name="Io.php" hash="e1796293468adb1340d6336fd37e4a43"/></dir></dir></dir><dir name="Mysql4"><dir name="Queue"><file name="Collection.php" hash="d0228354a318338e31d85e25960b9f5c"/></dir><file name="Queue.php" hash="8c192d482dbbaa48c703f00ef5cf1a73"/></dir><file name="Observer.php" hash="2642389de90e5d5092a12bd9f1f58a20"/><file name="ProductDetails.php" hash="a0c8b3dbc03baa1c3b9f9fa1878c8b81"/><file name="Queue.php" hash="c48db47089e3ca175017c409768aefe5"/></dir><dir name="controllers"><dir name="Adminhtml"><file name="ImportController.php" hash="3e0e0d36cb252768a7ccbb823d404752"/><dir name="System"><dir name="Convert"><file name="GuiController.php" hash="0a7755e0004a1db8c3fbfdfee717cdcc"/></dir></dir><file name="TagalysController.php" hash="3186738e45e4a33813e86463140a3431"/></dir><file name="FeedController.php" hash="056d76af4b612dc94e235df80a79c58d"/></dir><dir name="etc"><file name="config.xml" hash="fb8e11ba2d7164a5b0e3e3e8c91db936"/><file name="wsdl.xml" hash="1479803fedcad805ae6420f0eff141ad"/></dir><dir name="sql"><dir name="sync_setup"><file name="mysql4-install-0.1.0.php" hash="756c821858436db88487a3b121531d0e"/><file name="mysql4-install-0.2.0.php" hash="756c821858436db88487a3b121531d0e"/><file name="mysql4-upgrade-0.1.0-0.2.0.php" hash="1e1fdc5770389a9123a3079e354ad822"/></dir></dir></dir><dir name="PopularSearches"><dir name="Model"><file name="Observer.php" hash="a7d598941b2073bda8cf2eb1f03b0e6c"/></dir><dir name="etc"><file name="config.xml" hash="4089d29d49ff24d49446c8fed7c153b5"/></dir></dir><dir name="Tsearch"><dir name="Block"><dir name="Catalog"><dir name="Layer"><dir name="Filter"><file name="Attribute.php" hash="8d0f3d1786e1350dd3b050dac907f382"/><file name="Category.php" hash="084bd8b9a22699c867902f774eeb7f72"/><file name="Price.php" hash="2db28591e437f65cd52506906ee96663"/></dir><file name="State.php" hash="8dadc65a747943cb9973747495d3a090"/><file name="View.php" hash="28966b74d8cf4d2dd79155c546d4aa51"/></dir><dir name="Product"><dir name="List"><file name="Toolbar.php" hash="00a3f570914bc92fc738a8a2b63168f9"/></dir><file name="List.php" hash="360faadf31bc8a3606f789f634ea101b"/></dir></dir><dir name="Catalogsearch"><dir name="Layer"><dir name="Filter"><file name="Attribute.php" hash="3a858ada3f75cf0aa8c327d27daa616b"/></dir><file name="View.php" hash="28c09e321dc22fdbb03b48f057e8ae1b"/></dir><file name="Layer.php" hash="576c376ec352ce14e7f10c7e77fb8b59"/><file name="Result.php" hash="382a1f850d62de8e86617f149244db93"/></dir></dir><dir name="Helper"><file name="Data.php" hash="ae9d36b28b1eb921153d4207be3304a9"/></dir><dir name="Model"><dir name="Catalog"><dir name="Layer"><dir name="Filter"><file name="Attribute.php" hash="1d239626f555c4215a07edea9e3322de"/><file name="Category.php" hash="2c8aa2473f23181915445d0f5eab21bf"/><file name="Price.php" hash="f7d04011027bd796736a1238d76c56c1"/></dir></dir><file name="Layer.php" hash="5d005f705e43fc61ce548da82b22a3df"/><dir name="Product"><file name="List.php" hash="8bd460c476e4630149c7e11cb8f50a9c"/></dir></dir><dir name="Catalogsearch"><file name="Layer.php" hash="b32c1e8c132ba771bd0e0490ed97c853"/></dir><dir name="Client"><file name="Connector.php" hash="96107c6d1925cf6391d90a0c81b89f67"/></dir><file name="Engine.php" hash="3a6470c95fa7f51b5719d4734c208acc"/><file name="Observer.php" hash="eb77033417011509be021fba2028d018"/><dir name="Resource"><dir name="Catalog"><dir name="Product"><file name="Collection.php" hash="a0bcbb601025bc0af84ee3c11ef6e531"/><file name="testCollection.php" hash="a0bcbb601025bc0af84ee3c11ef6e531"/></dir></dir></dir></dir><dir name="etc"><file name="config.xml" hash="b5dc2fe2c23975efad00a1aeb15f0888"/></dir></dir></dir></dir></target><target name="magedesign"><dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><dir name="tagalys"><file name="ss.xml" hash="9d62ce5a9ae20f67f8f6b5baa8c5a2b6"/></dir></dir><dir name="template"><dir name="tagalys"><file name="tagalys_ss.phtml" hash="522f06677f0188c9a425a2401eb1ec11"/></dir></dir></dir></dir></dir><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="Tagalys_core.xml" hash="6385afae91af7bada73792120c378e65"/></dir><dir name="template"><dir name="tagalys"><file name="progressbar.phtml" hash="a54e328030c9f430a6022697f1431388"/></dir></dir></dir></dir></dir></dir></target><target name="mageskin"><dir><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="css"><file name="tagalys-core.css" hash="8d9ea54b6b1602cda702b4c55b4943a1"/></dir><dir name="images"><file name="logo-tagalys.png" hash="6b9eeda985cf02bfa23eeddcc64e422b"/></dir></dir></dir></dir></dir></target><target name="mage"><dir><dir name="js"><dir name="tagalys"><file name="tagalys-core.js" hash="09bba056df414ead8c8aea26a1fb8ed8"/></dir></dir></dir></target><target name="mageetc"><dir><dir name="modules"><file name="Tagalys_SearchSuggestions.xml" hash="0b256e54d7f0344f70c4c4efd0473b61"/><file name="Tagalys_Tsearch.xml" hash="8986598b80306698d18983ef9a2926f9"/></dir></dir></target></contents>
|
16 |
<compatible/>
|
17 |
+
<dependencies><required><php><min>5.3.0</min><max>5.6.0</max></php></required></dependencies>
|
18 |
</package>
|