multiple prices with one submitgreenspun.com : LUSENET : S-Mart Shopping Cart : One Thread |
I want to be able to show one item, with one submit button. The item has four different sizes, with a different price for each size. I want to have one select box for the sizes. How can I set up S-Mart to be able to know what the price is for each selection.
-- Kevin Jackson (ee_kjj@hal.lamar.edu), November 18, 1997
Just do it like this: <select name=itemprice> <option value=1.00>Size 1 <option value=5.00>Size 2 </select>
-- Barry Robison (brobison@rcinet.com), November 20, 1997.