This is a discussion on Attribute Dropdown within the osCMax v2 Customization/Mods forums, part of the osCMax v2.0 Forums category; Does anyone know how I can force a customer to choose an attribute? At the moment they can click buy ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| |||
| |||
| Does anyone know how I can force a customer to choose an attribute? At the moment they can click buy now, and the first attribute is automatically used - which in my case is 'please select' Is there no way to validate if the dropdown has been selected? Thanks in advance |
| Sponsored Links | ||
| ||
|
#2
| ||||
| ||||
|
__________________ Michael Sasek osCMax Developer
|
|
#3
| |||
| |||
| Thanks Michael |
|
#4
| |||
| |||
| Is there a way to have customers pick multiple Attribute at once? I have 66 colors for 1 soft plastic bait. Right now the customers have to pick the colors one at a time. I would like them to pick several at once. Maybe using check boxes. |
|
#5
| |||
| |||
| Quote: <script language="javascript"><!-- // az - Start Enforce Attribute Select function validate() { if (cart_quantity.elements['id[9]'].value == 242) { alert('Please select a size option before adding your product to the shopping cart.'); cart_quantity.elements['id[9]'].focus(); return false; } if (cart_quantity.elements['id[12]'].value == 240) { alert('Please select a size option before adding your product to the shopping cart.'); cart_quantity.elements['id[12]'].focus(); return false; } } // az - End Enforce Attribute Select //--></script> This only verifies the id 9, value 242, and lets the id 12, value 240 checkout without verification. |
| Sponsored Links | ||
| ||
| Thread Tools | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Customer Title Dropdown | michael_s | New osCommerce Contributions | 0 | 12-31-2007 02:10 PM |
| Sort Products By Dropdown | michael_s | New osCommerce Contributions | 0 | 08-09-2007 10:00 AM |
| Needing: Attribute Weight, Hide Price if 0, Actual Attribute | crystina | osCMax v2 Customization/Mods | 0 | 11-22-2006 05:08 PM |
| Catagorie dropdown has disappeared? | delphi1 | osCommerce 2.2 Discussion | 2 | 01-18-2006 04:28 AM |
| How toCreate Dropdown menu | Anonymous | osCommerce 2.2 Modification Help | 0 | 10-24-2002 09:28 PM |