Custom filter with data_01 field
Hi all,
I'm trying to create a custom filter for our collection page. You can find the collection filter here:
You see we have a min and max parameter for the price. This is default in Lightspeed. To get this two value you can use this code: {{ collection.filters.min }}
Now i made a filter for the Length of our products. This value is saved in the data_01 field.
The filter is working good, but i can't get the current value of the filtered length in the rain code.
I only can get this values using javascript...
I tried to get it with {{ request.url }}. But there i can't filter on parameters ofcourse :(
Can you guys help me please?
I hope you guys understand what i'm trying to do.
Looking forward to here from you.
With kind regards,
Sander Dongelmans
Post edited by SanderDongelmans on