wiser_search - Version 1.0.6

Version Notes

- Expanded third-party extension support

Download this release

Release Info

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


Code changes from version 1.0.5 to 1.0.6

app/code/community/Wiser/Search/Helper/ProductData.php CHANGED
@@ -53,21 +53,30 @@ class Wiser_Search_Helper_ProductData
53
 
54
  $attributes = $Product->getAttributes();
55
 
56
- foreach ($attributes as $attribute)
57
- {
58
- //if ($attribute->getIsFilterable())
59
- //{
60
- if ($attribute->getFrontend()->getConfigField('input')=='multiselect') {
61
- $value = $attribute->getFrontend()->getOption($Product->getData($attribute->getAttributeCode()));
62
- if (is_array($value)) {
63
- $value = implode('~', $value);
64
- }
65
- $Data[$attribute->getAttributeCode()] = $value;
66
- } else {
67
- $Data[$attribute->getAttributeCode()] = $attribute->getFrontend()->getValue($Product);
68
- }
69
- //}
70
- }
 
 
 
 
 
 
 
 
 
71
 
72
  if($Data['special_price'] == '')
73
  {
53
 
54
  $attributes = $Product->getAttributes();
55
 
56
+ foreach ($attributes as $attribute)
57
+ {
58
+ //if ($attribute->getIsFilterable())
59
+ //{
60
+ try {
61
+ if ($attribute->getFrontend()->getConfigField('input')=='multiselect') {
62
+ $value = $attribute->getFrontend()->getOption($Product->getData($attribute->getAttributeCode()));
63
+ if (is_array($value)) {
64
+ $value = implode('~', $value);
65
+ }
66
+ $Data[$attribute->getAttributeCode()] = $value;
67
+ } else {
68
+ $value = $attribute->getFrontend()->getValue($Product);
69
+ if (is_array($value)) {
70
+ $value = implode('~', $value);
71
+ }
72
+ $Data[$attribute->getAttributeCode()] = $value;
73
+ }
74
+ } catch (Exception $e) {
75
+ //do nothing
76
+ }
77
+ //}
78
+ }
79
+
80
 
81
  if($Data['special_price'] == '')
82
  {
app/code/community/Wiser/Search/etc/config.xml CHANGED
@@ -2,7 +2,7 @@
2
  <config>
3
  <modules>
4
  <Wiser_Search>
5
- <version>0.1.1</version>
6
  </Wiser_Search>
7
  </modules>
8
  <global>
@@ -54,7 +54,7 @@
54
  <default>
55
  <wiser_search>
56
  <wiser_search_group>
57
- <extension_version>1.0.5</extension_version>
58
  </wiser_search_group>
59
  </wiser_search>
60
  </default>
2
  <config>
3
  <modules>
4
  <Wiser_Search>
5
+ <version>1.0.6</version>
6
  </Wiser_Search>
7
  </modules>
8
  <global>
54
  <default>
55
  <wiser_search>
56
  <wiser_search_group>
57
+ <extension_version>1.0.6</extension_version>
58
  </wiser_search_group>
59
  </wiser_search>
60
  </default>
package.xml CHANGED
@@ -1,19 +1,18 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>wiser_search</name>
4
- <version>1.0.5</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>- Improved XML parsing&#xD;
12
- - Performance improvements</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-22</date>
15
- <time>19:47:51</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="0a73bb2934707925d5ccc671336d18e9"/><file name="SimpleXml.php" hash="ee3906507dd83a9b540e5fb2afaf767e"/><file name="XmlFeed.php" hash="10a19d78c67c8cb85a5aada89ef0cf03"/></dir><dir name="Model"><file name="Observer.php" hash="d2186e3c03b3495cf6dd7d0b326a5bcb"/></dir><dir name="controllers"><file name="IndexController.php" hash="4962af21d293bba9d800a95f1bb4d6d7"/></dir><dir name="etc"><file name="config.xml" hash="a61c723f2f7379b67079eb22980e90c1"/><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>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>wiser_search</name>
4
+ <version>1.0.6</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>- Expanded third-party extension support</notes>
 
12
  <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>
13
+ <date>2016-03-12</date>
14
+ <time>11:22:15</time>
15
+ <contents><target name="magecommunity"><dir name="Wiser"><dir name="Search"><dir name="Helper"><file name="Data.php" hash="d127ac82b4dd20580f24d1bdc0eb9349"/><file name="ProductData.php" hash="a1278ab9dada0c0ba4438f47427a2186"/><file name="SimpleXml.php" hash="ee3906507dd83a9b540e5fb2afaf767e"/><file name="XmlFeed.php" hash="10a19d78c67c8cb85a5aada89ef0cf03"/></dir><dir name="Model"><file name="Observer.php" hash="d2186e3c03b3495cf6dd7d0b326a5bcb"/></dir><dir name="controllers"><file name="IndexController.php" hash="4962af21d293bba9d800a95f1bb4d6d7"/></dir><dir name="etc"><file name="config.xml" hash="263a3c00ba0d7bcb4349a313e2e6b692"/><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>
16
  <compatible/>
17
  <dependencies><required><php><min>5.4.0.</min><max>7.0.2.</max></php></required></dependencies>
18
  </package>