Hi All
Not sure if this is the right place to post but could do with some help.
Scenario:
1 Box holds 3 items, Complete box weighs 75g, each item 25g, customer chooses their own 3 combo items. This could be the same all the same item or 3 different items.
I need a script that will require the selections to make up 75g in order to continue the process. i.e customer can only continue when 3 items / 75g worth are selected.
Here is a short version, I have about 12 selectors at the moment and possible more will be created (if that matters).
Code:
<form name="cart_quantity" action="myProduct?action=add_product" method="post" enctype="multipart/form-data">
<
<div class="placeholder">
<img src="" alt="Image Placeholder" />
</div>
<label class="attribsSelect" for="attrib-6">Hard Boiled 1</label><br />
<select name="id[6]" id="attrib-6">
<option value="">Select Portion</option>
<option value="24">25g</option>
<option value="25">50g</option>
<option value="26">75g</option>
</select>
<div class="placeholder">
<img src="" alt="Image Placeholder" />
</div>
<label class="attribsSelect" for="attrib-7">Hard Boiled 2</label><br />
<select name="id[7]" id="attrib-7">
<option value="">Select Portion</option>
<option value="27">25g</option>
<option value="28">50g</option>
<option value="29">75g</option>
</select>
<div class="placeholder">
<img src="" alt="Image Placeholder" />
</div>
<label class="attribsSelect" for="attrib-8">Hard Boiled 3</label><br />
<select name="id[8]" id="attrib-8">
<option value="">Select Portion</option>
<option value="30">25g</option>
<option value="31">50g</option>
<option value="32">75g</option>
</select>
<div class="placeholder">
<img src="" alt="Image Placeholder" />
</div>
<label class="attribsSelect" for="attrib-9">Hard Boiled 4</label><br />
<select name="id[9]" id="attrib-9">
<option value="">Select Portion</option>
<option value="33">25g</option>
<option value="34">50g</option>
<option value="35">75g</option>
</select>
</form>
The section of the form is just the portion with selctors, there are other fields with radio buttons for color choice etc.
I have searched for something like this all over but cant find it.
Please please please could some genius out there help.
Thanks in advance