I would like to add the option the change the product modifiers from inside the checkout. I've done some tried some things already but don't seem to be able to manage this. At the moment I'm using an embed function to display the modifiers select per product in my checkout which is working. Though the update seems to ignore this select.
My current code is like this:
{exp:store:checkout form_class="form-horizontal" return="{segment_1}/order_ok/ORDER_HASH/"}
{items}
{exp:channel:entries entry_id="{entry_id}" site="sales" status="not closed"}
<tr>
<td>{title}</td>
<td>
{modifiers}
{embed="us/_product-modifiers" entry_id="{entry_id}" key="{key}" option_id="{option_id}" modifier_id="{modifier_input_name}"}
{/modifiers}
</td>
<td>
<div class="input-group">
<input type="text" name="items[{key}][item_qty]" value="{item_qty}" class="form-control qty" placeholder="1">
</div>
</tr>
{/exp:channel:entries}
{/items}
{/exp:store:checkout}
The embed I'm using:
{exp:store:product entry_id="{embed:entry_id}" disable_form="yes" disable_javascript="yes"}
{modifiers}
{if modifier_type == 'var' OR modifier_type == 'var_single_sku'}
<select name="items[{embed:key}][{embed:modifier_id}]">
{modifier_options}
<option value="{option_id}" {if "{embed:option_id}" == "{option_id}"}selected="selected"{/if}>
{option_name}
</option>
{/modifier_options}
</select>
{/if}
{/modifiers}
{/exp:store:product}
I'm not entirely sure if it's even possible without modifying the store code itself as there isn't really anything about it in the documentation from what I can see. Has someone encountered the same problem already or might know a solution to this problem?