New answers tagged filter
1
vote
Accepted
Range filter doesn't accept variables
The error was in the increment variable because it is optional. If there is no value it throws an error it shoudl default to 1
So I constructed it like this:
{% for item in variants.b2bProductQty %}
...
1
vote
Range filter doesn't accept variables
I can't test easily because I never use Supertable, but my guess would be that if you were to dump out item.selectRange.cellStartInteger (DUMP out, not just print out - ie.{{ dump(item.selectRange....
Top 50 recent answers are included
Related Tags
filter × 167templating × 41
entries × 28
search × 28
categories × 26
category × 13
datetime × 9
matrix × 8
ajax × 8
craft3 × 7
plugin-craftcommerce × 6
plugin-development × 5
relations × 5
field × 5
forloop × 5
relatedto × 5
array × 5
filtering × 5
control-panel × 4
checkboxes × 4
assets × 3
plugins × 3
localization × 3
entry × 3
structure × 3