Magehouse_Slider - Version 1.0.4

Version Notes

First Release

Features:

- Customization of slider theme from backend.
- Can use both Images and background color for the slider.
- Can specify whether to include the jQuery or not.

Relase Notes 1.0.2

- Fixed bug : jQuery & jQuery UI not getting included.

Relase Notes 1.0.3

- Fixed bug : Do not Use Images has no effect on frontend.

Relase Notes 1.0.4

- Added : Special Price in filtering

Download this release

Release Info

Developer Mrugesh Mistry
Extension Magehouse_Slider
Version 1.0.4
Comparing to
See all releases


Code changes from version 1.0.3 to 1.0.4

app/code/community/Magehouse/Slider/Model/Catalog/Layer.php CHANGED
@@ -49,11 +49,15 @@ class Magehouse_Slider_Model_Catalog_Layer extends Mage_Catalog_Model_Layer
49
  /*PRICE SLIDER FILTER*/
50
  $max=$_GET['max'];
51
  $min=$_GET['min'];
52
- if($min)
53
- $collection= $collection->addAttributeToFilter('price',array('gteq'=>$min));
54
 
55
- if($max)
56
- $collection= $collection->addAttributeToFilter('price',array('lteq'=>$max));
 
 
 
 
 
 
57
 
58
  /*PRICE SLIDER FILTER*/
59
 
49
  /*PRICE SLIDER FILTER*/
50
  $max=$_GET['max'];
51
  $min=$_GET['min'];
 
 
52
 
53
+ //print_r($collection->getData());
54
+
55
+ if($min && $max){
56
+ //$collection= $collection->addAttributeToFilter('price',array('from'=>$min, 'to'=>$max));
57
+ $collection->getSelect()->where(' final_price >= "'.$min.'" AND final_price <= "'.$max.'" ');
58
+
59
+ //echo $collection->getSelect();exit;
60
+ }
61
 
62
  /*PRICE SLIDER FILTER*/
63
 
package.xml CHANGED
@@ -1,7 +1,7 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Magehouse_Slider</name>
4
- <version>1.0.3</version>
5
  <stability>stable</stability>
6
  <license uri="http://www.opensource.org/licenses/osl-3.0.php">OSL v3.0</license>
7
  <channel>community</channel>
@@ -24,11 +24,15 @@ Relase Notes 1.0.2&#xD;
24
  &#xD;
25
  Relase Notes 1.0.3&#xD;
26
  &#xD;
27
- - Fixed bug : Do not Use Images has no effect on frontend.</notes>
 
 
 
 
28
  <authors><author><name>Mrugesh Mistry</name><user>mrugeshrocks</user><email>mrugesh.rocks@gmail.com</email></author></authors>
29
- <date>2012-09-26</date>
30
- <time>13:06:38</time>
31
- <contents><target name="magecommunity"><dir name="Magehouse"><dir name="Slider"><dir name="Block"><dir name="Catalog"><dir name="Layer"><file name="View.php" hash="27631276fdb401a0d6cda7292f89e1fc"/></dir></dir></dir><dir name="Helper"><file name="Data.php" hash="a065b8f56bbda2943734e76139883220"/></dir><dir name="Model"><dir name="Catalog"><file name="Layer.php" hash="a1c2cecee98019114530e94b7e13a526"/></dir></dir><dir name="etc"><file name="adminhtml.xml" hash="c728cee82276d42e77808bf48fdd0cdf"/><file name="config.xml" hash="5a55ba91f82a7607db99ab71ff0c060d"/><file name="system.xml" hash="3c7bd19dd730500a9271f762624552ce"/></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="default"><dir name="default"><dir name="template"><dir name="catalog"><dir name="layer"><file name="view.phtml" hash="add1b1c7a2ec9fc6c48f9bc626504e07"/></dir></dir></dir></dir></dir><dir name="base"><dir name="default"><dir name="layout"><file name="slider.xml" hash="059f6a61697fda8974f1dc52e9cf291d"/></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Magehouse_Slider.xml" hash="43112ba587c13efb57d3b9471498a814"/></dir></target><target name="mageskin"><dir name="frontend"><dir name="base"><dir name="default"><dir name="css"><dir name="slider"><dir name="images"><file name="Thumbs.db" hash="c192da3c422ad168eecbe155887757f4"/><file name="ui-bg_diagonals-thick_18_b81900_40x40.png" hash="95f9cceeb9d742dd3e917ec16ed754f8"/><file name="ui-bg_diagonals-thick_20_666666_40x40.png" hash="f040b255ca13e693da34ab33c7d6b554"/><file name="ui-bg_flat_10_000000_40x100.png" hash="c18cd01623c7fed23c80d53e2f5e7c78"/><file name="ui-bg_glass_100_f6f6f6_1x400.png" hash="4c494f261d76fd2c344853b64a09371b"/><file name="ui-bg_glass_100_fdf5ce_1x400.png" hash="4c494f261d76fd2c344853b64a09371b"/><file name="ui-bg_glass_65_ffffff_1x400.png" hash="4c494f261d76fd2c344853b64a09371b"/><file name="ui-bg_gloss-wave_35_f6a828_500x100.png" hash="8c06b9c15ea2bef5ff5f1c7468bdc106"/><file name="ui-bg_highlight-soft_100_eeeeee_1x100.png" hash="f00e2ff3af640da7ee8915791b947349"/><file name="ui-bg_highlight-soft_75_ffe45c_1x100.png" hash="b806658954cb4d16ade8977af737f486"/><file name="ui-icons_222222_256x240.png" hash="ebe6b6902a408fbf9cac6379a1477525"/><file name="ui-icons_228ef1_256x240.png" hash="79f41c0765e9ec18562b20b0801d748b"/><file name="ui-icons_ef8c08_256x240.png" hash="ef9a6ccfe3b14041928ddc708665b226"/><file name="ui-icons_ffd27a_256x240.png" hash="39c5a5f53ff0e6cebaec731706427bbb"/><file name="ui-icons_ffffff_256x240.png" hash="342bc03f6264c75d3f1d7f99e34295b9"/></dir><file name="jquery-ui-1.8.23.custom.css" hash="408147096939c6ddb0becced6cdc1197"/></dir></dir></dir></dir></dir></target></contents>
32
  <compatible/>
33
  <dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
34
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Magehouse_Slider</name>
4
+ <version>1.0.4</version>
5
  <stability>stable</stability>
6
  <license uri="http://www.opensource.org/licenses/osl-3.0.php">OSL v3.0</license>
7
  <channel>community</channel>
24
  &#xD;
25
  Relase Notes 1.0.3&#xD;
26
  &#xD;
27
+ - Fixed bug : Do not Use Images has no effect on frontend.&#xD;
28
+ &#xD;
29
+ Relase Notes 1.0.4&#xD;
30
+ &#xD;
31
+ - Added : Special Price in filtering</notes>
32
  <authors><author><name>Mrugesh Mistry</name><user>mrugeshrocks</user><email>mrugesh.rocks@gmail.com</email></author></authors>
33
+ <date>2012-10-05</date>
34
+ <time>17:18:55</time>
35
+ <contents><target name="magecommunity"><dir name="Magehouse"><dir name="Slider"><dir name="Block"><dir name="Catalog"><dir name="Layer"><file name="View.php" hash="27631276fdb401a0d6cda7292f89e1fc"/></dir></dir></dir><dir name="Helper"><file name="Data.php" hash="a065b8f56bbda2943734e76139883220"/></dir><dir name="Model"><dir name="Catalog"><file name="Layer.php" hash="6a721e4f0118d0353a9f6b7838c5aeaf"/></dir></dir><dir name="etc"><file name="adminhtml.xml" hash="c728cee82276d42e77808bf48fdd0cdf"/><file name="config.xml" hash="5a55ba91f82a7607db99ab71ff0c060d"/><file name="system.xml" hash="3c7bd19dd730500a9271f762624552ce"/></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="default"><dir name="default"><dir name="template"><dir name="catalog"><dir name="layer"><file name="view.phtml" hash="add1b1c7a2ec9fc6c48f9bc626504e07"/></dir></dir></dir></dir></dir><dir name="base"><dir name="default"><dir name="layout"><file name="slider.xml" hash="059f6a61697fda8974f1dc52e9cf291d"/></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Magehouse_Slider.xml" hash="43112ba587c13efb57d3b9471498a814"/></dir></target><target name="mageskin"><dir name="frontend"><dir name="base"><dir name="default"><dir name="css"><dir name="slider"><dir name="images"><file name="Thumbs.db" hash="c192da3c422ad168eecbe155887757f4"/><file name="ui-bg_diagonals-thick_18_b81900_40x40.png" hash="95f9cceeb9d742dd3e917ec16ed754f8"/><file name="ui-bg_diagonals-thick_20_666666_40x40.png" hash="f040b255ca13e693da34ab33c7d6b554"/><file name="ui-bg_flat_10_000000_40x100.png" hash="c18cd01623c7fed23c80d53e2f5e7c78"/><file name="ui-bg_glass_100_f6f6f6_1x400.png" hash="4c494f261d76fd2c344853b64a09371b"/><file name="ui-bg_glass_100_fdf5ce_1x400.png" hash="4c494f261d76fd2c344853b64a09371b"/><file name="ui-bg_glass_65_ffffff_1x400.png" hash="4c494f261d76fd2c344853b64a09371b"/><file name="ui-bg_gloss-wave_35_f6a828_500x100.png" hash="8c06b9c15ea2bef5ff5f1c7468bdc106"/><file name="ui-bg_highlight-soft_100_eeeeee_1x100.png" hash="f00e2ff3af640da7ee8915791b947349"/><file name="ui-bg_highlight-soft_75_ffe45c_1x100.png" hash="b806658954cb4d16ade8977af737f486"/><file name="ui-icons_222222_256x240.png" hash="ebe6b6902a408fbf9cac6379a1477525"/><file name="ui-icons_228ef1_256x240.png" hash="79f41c0765e9ec18562b20b0801d748b"/><file name="ui-icons_ef8c08_256x240.png" hash="ef9a6ccfe3b14041928ddc708665b226"/><file name="ui-icons_ffd27a_256x240.png" hash="39c5a5f53ff0e6cebaec731706427bbb"/><file name="ui-icons_ffffff_256x240.png" hash="342bc03f6264c75d3f1d7f99e34295b9"/></dir><file name="jquery-ui-1.8.23.custom.css" hash="408147096939c6ddb0becced6cdc1197"/></dir></dir></dir></dir></dir></target></contents>
36
  <compatible/>
37
  <dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
38
  </package>