Hey guys,
Firstly, wicked, wicked, wicked. cartthrob has been a long time coming!
I’m running a dev site to get to grips with it before unleashing it on my clients. So far, so good.
I’d like to ask for a little help in setting out the cart modifiers, at present I have the them working as a ‘select’ dropdown.
Is there a way to have them set out as a list with radio buttons?
My select code, that outputs 2 colour choices:
{item_options:select:product_color}
<option value="{option}">{option_name} - {price}</option>
{/item_options:select:product_color}
What I’m hoping to achieve:
<ul class="">
<li id="prod_1"><input type="radio" checked="checked" value="{option}" name="colour" id="{product_sku}" class="radio" rel="{price}">
<label information></label>
</li>
<li id="prod_2"><input type="radio" value="{option}" name="colour" id="{product_sku}" class="radio" rel="{price}">
<label information></label>
</li>
</ul>
Any help appreciated.
Cheers
