1

To understand it fully I will give a clear example:

Our webshop sells zip ties. Every zip ties can be tightened between a minimum and a maximum diameter. For example say from 0.5" to 2". In most of the cases the buyer needs a zip tie for a specific needed diameter. What we need is to have a possibility to get an input for the needed diameter and list all the zip ties where this input is between the minimum and maximum diameter.

I have tried different variations with layered navigation but it can not be done with it.

Any help is welcome.

Ervin
  • 2,374
  • 4
  • 30
  • 44
  • have you tried the slider thing in bloclayered? – Julien Lachal Jun 29 '16 at 14:36
  • Hi Julien, yes I have tried different things with that too. THe slider is a different version of a dropdown, nothing else. You can select between existing values from one feature. What I need is that the user inputs a value (i.e 1" as needed diameter) and it lists all the products where minimum diameter < 1" < maximum diameter. – Ervin Jun 29 '16 at 17:15
  • 1
    Erven you should open blocklayered and check how it works with price. Its same - slider thing. Bot you must add additional functions. – elPresta Jun 30 '16 at 06:49
  • elPresta, thanks. I have thought about that but thats just the opposite what I need. For price it asks for minimum and maximum (2 different) inputs and lists those products where price is between the two selected. In my case I have one single input and need to search between 2 features: minimum and maximum. – Ervin Jun 30 '16 at 07:12

1 Answers1

1

You need to customize blocklayered module, some tips:

let's imagine in shop each product have 2 different features "min diameter" and "max diameter" and you already created filter for them, checkboxes.

  • hide these blocks by display:none
  • add in template input field for the actual diameter value.
  • after customer's input, select all min/max checkboxes that satisfy the condition
  • call blocklayered method to send the filters.
Serge P
  • 1,863
  • 13
  • 14