I'm trying to loop on product modifiers though I can't seem to do it, can someone tell me why I'm being dumb?
This page suggests I can do it with the product-tag: https://www.exp-resso.com/docs/product_tag.html
This one suggests I can do it with the product-form-tag: https://www.exp-resso.com/docs/product_form_tag.html
Neither seems to work and when I copy/pasta the example code it just hard codes this in my template:
{modifiers}
<p>
<label>{modifier_name}</label><br />
{if modifier_instructions}<small>{modifier_instructions}</small><br />{/if}
{if modifier_type == 'var' OR modifier_type == 'var_single_sku'}
<select name="{modifier_input_name}">
{modifier_options}
<option value="{option_id}">
{option_name}
{if price_mod_val} ({price_mod}) {/if}
</option>
{/modifier_options}
</select>
{if:else}
<input type="text" name="{modifier_input_name}" />
{/if}
</p>
{/modifiers}
This Stack Exchange post suggests you cannot use it in the product tag unless its wrapped in product form tag (which I have also tried):
However, you can't access the modifiers that way (there is no way for the fieldtype to return variable loops).
Outputting Exp-resso Store modifier-options without form-tag
Here is a screenshot of my entry in the backend of EE: