close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Static dropdown

Thread began 4/14/2009 3:25 am by khaled376930 | Last modified 4/14/2009 2:59 pm by Ray Borduin | 2471 views | 5 replies |

khaled376930

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.

Sign in to reply to this post

Ray BorduinWebAssist

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.

Sign in to reply to this post
Did this help? Tips are appreciated...

khaled376930

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>

Sign in to reply to this post

Ray BorduinWebAssist

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.

Sign in to reply to this post
Did this help? Tips are appreciated...

khaled376930

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.

Sign in to reply to this post

Ray BorduinWebAssist

What type of paypal checkout... you would probably have to update the values of some hidden form elements on the confirm page.

Sign in to reply to this post
Did this help? Tips are appreciated...

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

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.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...