IDs for filter inputs

We have added id attributes for inputs in filter also for older templates of 1st and 2nd generation. These IDs holds unique identificator of filtering parameter.

Self-describing example below shows two filtering inputs for color and size. Attribute name holds info about filter itself (in this case parametric filter), id attribute is an unique id of parameter used for filtering and finally the value attribute is text value of that parameter which is displayed to customers.

<input data-url="https://tango.shoptet.cz/na-sebe/?pv10=66" type="checkbox" name="pv[]" id="pv[]66" value="bílá">

<input data-url="https://tango.shoptet.cz/na-sebe/?pv5=42" type="checkbox" name="pv[]" id="pv[]42" value="S">

Navigace pro příspěvek