wiser_search - Version 1.0.4

Version Notes

- Added backoffice configurations
- Data feed optimalisation

Download this release

Release Info

Developer Niels - Rejuni
Extension wiser_search
Version 1.0.4
Comparing to
See all releases


Code changes from version 1.0.3 to 1.0.4

app/code/community/Wiser/Search/controllers/IndexController.php CHANGED
@@ -127,7 +127,7 @@ class Wiser_Search_IndexController extends Mage_Core_Controller_Front_Action {
127
  $this->_Products->addAttributeToFilter('visibility', array('gt' => 2));// search only OR catalog, search
128
  $this->_Products->addAttributeToSelect('*');
129
 
130
- $itemsPerPage = 500;
131
  $this->_ProductIds = $this->_Products->getAllIds($itemsPerPage, ($pageNr - 1) * $itemsPerPage); /* items, offset */
132
  }
133
 
127
  $this->_Products->addAttributeToFilter('visibility', array('gt' => 2));// search only OR catalog, search
128
  $this->_Products->addAttributeToSelect('*');
129
 
130
+ $itemsPerPage = 100;
131
  $this->_ProductIds = $this->_Products->getAllIds($itemsPerPage, ($pageNr - 1) * $itemsPerPage); /* items, offset */
132
  }
133
 
app/code/community/Wiser/Search/etc/config.xml CHANGED
@@ -1,12 +1,12 @@
1
  <?xml version="1.0"?>
2
  <config>
3
- <modules>
4
- <Wiser_Search>
5
- <version>0.1.1</version>
6
- </Wiser_Search>
7
- </modules>
8
- <global>
9
- <helpers>
10
  <wiser_search>
11
  <class>Wiser_Search_Helper</class>
12
  </wiser_search>
@@ -50,7 +50,14 @@
50
  </observers>
51
  </clean_catalog_images_cache_after>
52
  </events>
53
- </global>
 
 
 
 
 
 
 
54
  <frontend>
55
  <routers>
56
  <wiser_search>
1
  <?xml version="1.0"?>
2
  <config>
3
+ <modules>
4
+ <Wiser_Search>
5
+ <version>0.1.1</version>
6
+ </Wiser_Search>
7
+ </modules>
8
+ <global>
9
+ <helpers>
10
  <wiser_search>
11
  <class>Wiser_Search_Helper</class>
12
  </wiser_search>
50
  </observers>
51
  </clean_catalog_images_cache_after>
52
  </events>
53
+ </global>
54
+ <default>
55
+ <wiser_search>
56
+ <wiser_search_group>
57
+ <extension_version>1.0.4</extension_version>
58
+ </wiser_search_group>
59
+ </wiser_search>
60
+ </default>
61
  <frontend>
62
  <routers>
63
  <wiser_search>
app/code/community/Wiser/Search/etc/system.xml CHANGED
@@ -22,6 +22,25 @@
22
  <show_in_website>1</show_in_website>
23
  <show_in_store>1</show_in_store>
24
  <fields>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
25
  <customer_key translate="label">
26
  <label>Customer Key</label>
27
  <frontend_type>text</frontend_type>
22
  <show_in_website>1</show_in_website>
23
  <show_in_store>1</show_in_store>
24
  <fields>
25
+ <extension_version translate="label">
26
+ <label>Version:</label>
27
+ <frontend_type>label</frontend_type>
28
+ <comment><![CDATA[ Go to <a target="_blank" href="https://app.wiser.nl/">https://app.wiser.nl/</a> for further configuration ]]></comment>
29
+ <sort_order>10</sort_order>
30
+ <show_in_default>1</show_in_default>
31
+ <show_in_website>1</show_in_website>
32
+ <show_in_store>1</show_in_store>
33
+ </extension_version>
34
+ <disabled translate="label">
35
+ <label>Disabled:</label>
36
+ <comment><![CDATA[ Disables Wiser Search ]]></comment>
37
+ <frontend_type>select</frontend_type>
38
+ <sort_order>20</sort_order>
39
+ <show_in_default>1</show_in_default>
40
+ <show_in_website>1</show_in_website>
41
+ <show_in_store>1</show_in_store>
42
+ <source_model>adminhtml/system_config_source_yesno</source_model>
43
+ </disabled>
44
  <customer_key translate="label">
45
  <label>Customer Key</label>
46
  <frontend_type>text</frontend_type>
app/design/frontend/base/default/template/wiser_search/conversion.phtml CHANGED
@@ -1 +1 @@
1
- <script><?php echo str_replace("{languageid}", Mage::app()->getStore()->getStoreId(), Mage::getStoreConfig('wiser_search/wiser_search_group/script')); ?></script>
1
+ <script><?php if(!Mage::getStoreConfig('wiser_search/wiser_search_group/disabled')) { echo str_replace("{languageid}", Mage::app()->getStore()->getStoreId(), Mage::getStoreConfig('wiser_search/wiser_search_group/script')); } ?></script>
package.xml CHANGED
@@ -1,19 +1,19 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>wiser_search</name>
4
- <version>1.0.3</version>
5
  <stability>stable</stability>
6
  <license uri="http://opensource.org/licenses/gpl-license.php">GPL</license>
7
  <channel>community</channel>
8
  <extends/>
9
  <summary>Quickly have your search results on screen while typing, advanced statistics and advanced layered navigation</summary>
10
  <description>Show search results to your customers while typing, indexes both products and pages. Allows the webshop administrator to view advanced search statistics.</description>
11
- <notes>Bugfixes:&#xD;
12
- - added pagination in feed towards wiser search for high volume webshops</notes>
13
  <authors><author><name>Niels - Rejuni</name><user>niels</user><email>niels@rejuni.nl</email></author><author><name>Remco - Rejuni</name><user>remco</user><email>remco@rejuni.nl</email></author></authors>
14
- <date>2016-02-15</date>
15
- <time>18:45:57</time>
16
- <contents><target name="magecommunity"><dir name="Wiser"><dir name="Search"><dir name="Helper"><file name="Data.php" hash="d127ac82b4dd20580f24d1bdc0eb9349"/><file name="ProductData.php" hash="1f370f53136b4089c2c884482da4e420"/><file name="SimpleXml.php" hash="ee3906507dd83a9b540e5fb2afaf767e"/><file name="XmlFeed.php" hash="259ab0f3ae673d7395db37c794f9bc02"/></dir><dir name="Model"><file name="Observer.php" hash="d2186e3c03b3495cf6dd7d0b326a5bcb"/></dir><dir name="controllers"><file name="IndexController.php" hash="1ee8413f5cfec6fada96e0e4c9cf60c3"/></dir><dir name="etc"><file name="config.xml" hash="882ea88ebe19af202f3c56ea23397dad"/><file name="system.xml" hash="89c471d8aa5eeeb294f9c2b272f5ac56"/></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Wiser_Search.xml" hash="4a518f78635b9e09b5b907a096b1ae91"/></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="wiser_search.xml" hash="f66cf33d0e88676e86bba6f0c561e485"/></dir><dir name="template"><dir name="wiser_search"><file name="conversion.phtml" hash="a5538d15d4f43989a2513b3449258dec"/></dir></dir></dir></dir></dir></target></contents>
17
  <compatible/>
18
  <dependencies><required><php><min>5.4.0.</min><max>7.0.2.</max></php></required></dependencies>
19
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>wiser_search</name>
4
+ <version>1.0.4</version>
5
  <stability>stable</stability>
6
  <license uri="http://opensource.org/licenses/gpl-license.php">GPL</license>
7
  <channel>community</channel>
8
  <extends/>
9
  <summary>Quickly have your search results on screen while typing, advanced statistics and advanced layered navigation</summary>
10
  <description>Show search results to your customers while typing, indexes both products and pages. Allows the webshop administrator to view advanced search statistics.</description>
11
+ <notes>- Added backoffice configurations&#xD;
12
+ - Data feed optimalisation</notes>
13
  <authors><author><name>Niels - Rejuni</name><user>niels</user><email>niels@rejuni.nl</email></author><author><name>Remco - Rejuni</name><user>remco</user><email>remco@rejuni.nl</email></author></authors>
14
+ <date>2016-02-18</date>
15
+ <time>20:36:15</time>
16
+ <contents><target name="magecommunity"><dir name="Wiser"><dir name="Search"><dir name="Helper"><file name="Data.php" hash="d127ac82b4dd20580f24d1bdc0eb9349"/><file name="ProductData.php" hash="1f370f53136b4089c2c884482da4e420"/><file name="SimpleXml.php" hash="ee3906507dd83a9b540e5fb2afaf767e"/><file name="XmlFeed.php" hash="259ab0f3ae673d7395db37c794f9bc02"/></dir><dir name="Model"><file name="Observer.php" hash="d2186e3c03b3495cf6dd7d0b326a5bcb"/></dir><dir name="controllers"><file name="IndexController.php" hash="bb1f77edbcfa16d10466f13bb9275aa2"/></dir><dir name="etc"><file name="config.xml" hash="51c00b79402519bfebb74ceb293370da"/><file name="system.xml" hash="117fc73e288f9e056871ce14aaf2818a"/></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Wiser_Search.xml" hash="4a518f78635b9e09b5b907a096b1ae91"/></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="wiser_search.xml" hash="f66cf33d0e88676e86bba6f0c561e485"/></dir><dir name="template"><dir name="wiser_search"><file name="conversion.phtml" hash="01671ab852225eec8384d9faae183be9"/></dir></dir></dir></dir></dir></target></contents>
17
  <compatible/>
18
  <dependencies><required><php><min>5.4.0.</min><max>7.0.2.</max></php></required></dependencies>
19
  </package>