Using SS Pro 9.0.3.2
Per the suggestion here:
http://support.lexiconn.com/news/viewtopic.php?t=289
I have this code in the Javascript at start of checkit function field:
if (document.order.country.value != "US" && (document.order.shipping.value == "reg" || document.order.shipping.value == "sec")) {
alert("International customers cannot choose USA ONLY shipping options");
return(false);
}
*****************
Here is the relevant portion of the shopping cart page source code:
<table class="taxnship">
<tr><td class="taxnship_hdr" colspan="2">Choose a Shipping option</td></tr>
<tr><td class="taxnship"><input checked type=radio name="shipping" value="reg"> Standard UPS / USPS Shipping (2-5 business days)</td>
<td class="taxnship">($7.00)</td>
</tr>
<tr><td class="taxnship"><input type=radio name="shipping" value="sec"> UPS 2nd Day Air </td>
<td class="taxnship">($18.60)</td>
</tr>
<tr><td class="taxnship"><input type=radio name="shipping" value="nex"> UPS Next Day Air</td>
<td class="taxnship">($38.75)</td>
</tr>
<tr><td class="taxnship"><input type=radio name="shipping" value="m3"> UPS 3 Day Select</td>
<td class="taxnship">($14.50)</td>
</tr>
<tr><td class="taxnship"><input type=radio name="shipping" value="m4"> International - CANADA</td>
<td class="taxnship">($7.00)</td>
</tr>
<tr><td class="taxnship"><input type=radio name="shipping" value="m5"> International - Rest of World - Standard</td>
<td class="taxnship">($7.00)</td>
</tr>
<tr><td class="taxnship"><input type=radio name="shipping" value="m6"> International - Rest of World - Express</td>
<td class="taxnship">($28.00)</td>
</tr>
</table>
However, it does not appear to be working. Can still select the shipping options in question, proceed to the next screen, and finalize the order. Can anyone spot what I may be doing wrong?