I want to develop a price filter in magento 1.9 and i have done this which is not working.

<div class="price_range_caption">

<span class="currency_from">Rs.</span><span id="price_range_fromprice" >1250</span><span id="price_range_toprice">6600</span><span class="currency_to">Rs.</span></div>
<script type="text/javascript">
var slider = create_price_slider(170, 0, 170, 1250, 6600,"price");
window.onresize = function() {

var url = window.location.href;
var pa = document.getElementById("price_range_fromprice").innerHTML;
var pb = document.getElementById("price_range_toprice").innerHTML;




Url us generating ok i have tested it but ONRESIZE function is not working. enter image description here

  • why are using the ONRESIZE function? – Qaisar Satti Mar 30 '16 at 5:25
  • for price filter on left side bar i shared the picture – atifaltaf Mar 30 '16 at 5:26
  • do you have any other technique for price filter just like i need. – atifaltaf Mar 30 '16 at 5:27
  • 1
    use this slider it is easy to add your function phpgang.com/… – Qaisar Satti Mar 30 '16 at 5:32
  • oka i am trying – atifaltaf Mar 30 '16 at 5:38

here are list the list of free layered navigation


if you want to create the custom i recommend this tutorial


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.