How do I pass variables into the range filter from a static supertable field?
{% for item in variants.b2bProductQty %}
{% set start = item.selectRange.cellStartInteger %}
{% set end = item.selectRange.cellEndInteger %}
{% set increment = item.selectRange.cellIncerement %}
{% for i in range(start, end, increment) %}
<option value="{{ variants.sku }}:">{{ i }}</option>
{% endfor %}
{% endfor %}
This results in the error:
range(): Argument #3 ($step) must not exceed the specified range
When I hardcode the numbers from the field it works
{% for i in range(5, 50, 5) %}
<option value="{{ variants.sku }}:">{{ i }}</option>
{% endfor %}
If I just print out {{ start }}
it shows 5
just fine