Static dropdown
Hi is it possible to create a static dropdown when buying a product to choose between colours for a .php shopping cart with ecart. If so any advise would be great fully appreciated.
Hi is it possible to create a static dropdown when buying a product to choose between colours for a .php shopping cart with ecart. If so any advise would be great fully appreciated.
Add a column to the cart for colours.
Then update your add to cart button and make that field updatable as a select list.
Then click ok and add the colors you want to the list.
Hi Ray
Many thanks for the reply. How do I add a colum to the cart, sorry not done this before and have no idea how to do it.
This is the code I have.
<form name="eCart1_1_ATC_tiana" method="POST" action="<?php echo $_SERVER["../PHP_SELF"]; ?><?php echo (isset($_SERVER["QUERY_STRING"]) && $_SERVER["QUERY_STRING"] != "")?"?".$_SERVER["QUERY_STRING"]:""; ?>">
<input type="hidden" name="eCart1_1_ID_Add" value="wedding bracelet 01" />
<input name="eCart1_1_Quantity_Add" type="text" class="quantity" value="1" size="1" >
<input type="image" src="../WA_eCart/Images/Pacifica/a_add_basket.gif" border="0" value="Add to Cart" name="eCart1_1_ATC" alt="Add item to basket">
</form>
Double click on the cart object or open the cart object panel and click the edit button.
Then click on the columns tab and click the plus button. Maybe take a glance at the documentation.
Cheers ray works well, do you have any idea how I pass that information onto paypal from the checkout. If I create a new checkout will it update the new field or do I have to add some additional code.
What type of paypal checkout... you would probably have to update the values of some hidden form elements on the confirm page.
Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.
These out-of-the-box solutions provide you proven, tested applications that can be up and running now. Build a store, a gallery, or a web-based email solution.