![]() |
|
||
|
|
|||
|
These examples show several
methods of displaying or not displaying the shopping cart when adding items
to the basket. Go ahead and give these examples a try. Select a color and
select the "Don't Show Cart" option. When it's done click the View Cart image
so you can see the item you just added. Of course, you can force the browser
to now display the cart with this command Method 1 - Let the shopper decide CODE: <INPUT name=Show type=radio VALUE="y">Show shopping cart <INPUT name=Show type=radio checked VALUE="n"> Don't show shopping cart Method 2 CODE: <INPUT checked name=Show type=checkbox VALUE="n"> Do not take me to shopping cart Method 3 CODE: <SELECT NAME=Show> <OPTION selected value="n">Don't show shopping cart <OPTION value="y">Show shopping cart </SELECT> Method 4 - Shopper does not decide. You will set the default in your code. CODE: <INPUT type="HIDDEN" NAME="Show" VALUE="n">
|