close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Static Drop Down Menu

Thread began 3/08/2009 4:12 pm by mike292921 | Last modified 3/09/2009 8:13 am by Ray Borduin | 4209 views | 2 replies |

mike292921

Static Drop Down Menu

Ya, I am no php developer but can use some help.

Ecart static drop down menu with button. Now I have sizes for merchandise however when they select say size 6 well size 6 goes in the cart just fine however when I click size 7 it still adds in size 6 to the cart and says 2 quantities which is incorrect. I have the values set right like select size 6 size 6 is add to cart.

Anyone's and Everyone's help is appreciated, I thank you for your time.

Anybody have any ideas?

Sign in to reply to this post

mike292921

Here is the example code I have

<form name="cart_4_ATC_shoes" method="POST" action="<?php echo $_SERVER["PHP_SELF"]; ?><?php echo (isset($_SERVER["QUERY_STRING"]) && $_SERVER["QUERY_STRING"] != "")?"?".$_SERVER["QUERY_STRING"]:""; ?>">
<input type="hidden" name="cart_4_ID_Add" value="shoes" >
<select name="cart_4_Description_Add">
<option value="size 5"> size 5</option>
<option value="size 9"> size 9</option>
<option value="size 10">size 10</option>
</select>
<br />
<input type="text" name="cart_4_Quantity_Add" value="1" size="4" >
<br />
<input type="image" src="../../WA_eCart/Images/CaboSunset/Btn2_EN_addtocart.gif" border="0" value="Add to Cart" name="cart_4_ATC">
</form>

Sign in to reply to this post

Ray BorduinWebAssist

You need to open up the cart object and set the Description column as unique.

Since they share the same ID, it increments quantity, by telling the cart that the combination of ID and description are unique, it will treat them as new items.

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...