close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Option Display in Cart

Thread began 5/12/2011 8:09 am by arule414626 | Last modified 5/12/2011 9:45 am by Jason Byrnes | 886 views | 3 replies |

arule414626

Option Display in Cart

I have two different options for my product (one which changes the price). I followed the tutorial and it all works well except that I'm trying to diplay the options in my cart. The option which changes the price displays correctly as the optionName but the other option displays the productoptionID instead of the optionName. I figured if I changed this code:

$ATC_itemTime = "".$_POST["devres_cart_1_Time_Add"] ."";

to look like this:

$ATC_itemTime = "".$row_rsTime['OptionName'] ."";

it would work... but it doesn't. Can you tell me what I need to change in order for it to display correctly?

Sign in to reply to this post

Jason ByrnesWebAssist

It is probably just a matter of changing the select list on the add to cart button so that the option name is used for the value instead of the option ID.


In the select list settings, the option that _does not_ effect price should use the option name for the value and for the label.

For the option that _does_ effect the price, use the option ID as the Value, and the name as the label.

Sign in to reply to this post

arule414626

Thank you! That worked. I didn't know if there was a reason the value needed to be an integer or not.

Sign in to reply to this post

Jason ByrnesWebAssist

For the options that effect price, the value needs to be an integer for the Price Lookup recordset to function.

For items that do not effect price though, the value should be the same as the label.

Sign in to reply to this post

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