close ad
WARNING: Do Not Install the DREAMWEAVER CC 2017 or 2018 Update »
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Select a price option

Thread began 7/08/2009 12:10 am by benmathews101448 | Last modified 7/08/2009 7:04 pm by benmathews101448 | 1017 views | 4 replies |

benmathews101448

Select a price option

I posted this question yesterday under the Data Assist section and believe I had it in the wrong section.

I am building my first catalog and shopping cart. The products are actually subscriptions and can be purchased with a monthly recurring cost or they can be paid with one payment, which is for a year. I'd like the user to be able to select one or the other.

I tried adding radio butons to the AddToCart Form and then added it to the eCart Add to Cart Button interface but I got a type mismatch 'cDbl'.

Can anyone suggest how best to handle the two payment options using eCart?

Thank you!

Ben

Sign in to reply to this post

Ray BorduinWebAssist

Are you trying to set up the recurring payment system? or just only charge for one month or one year and they would still have to manually pay monthly on the site?

Sign in to reply to this post

benmathews101448

Originally Said By: Ray Borduin
  Are you trying to set up the recurring payment system? or just only charge for one month or one year and they would still have to manually pay monthly on the site?  


Ray: Thanks for helping me. This site is used only by our agents. The monthly payment is recurring but our accounting dept turns the monthly payment into a recurring charge. They only have to charge the monthly amont once on the shopping cart and our bookkeeper handles the rest. There is a checkbox with the add to cart button where they agree to that.

Sign in to reply to this post

Ray BorduinWebAssist

OK. Then your radio button option probably would have worked. Maybe you just didn't set the radio button values properly.

Are you using a database? What did you do after you created the radio fields? What fields in the cart did you try to update and how?

Sign in to reply to this post

benmathews101448

Ray, you're a genious. When I started to write out exactly what I did, I found my error. It was an error in populating the radio buttons. It works perfectly now.
For the record to possibly help others:
I added 2 radio buttons in a group labled rbPrice and populated the values with my monthly price and annual price that are fields in my item table. This is what I put in the Value field of the radio button for Monthly Payment.<%=(WADAecItems.Fields.Item("ItemMoPrice").Value)%>
Next I opened the eCart "Add From Recordset" dialog and under the tab, Binding, I bound Price to my radio button group like this <%=cStr(Request.Form("rbPrice"))%>

Ray, I really appreciate your help. Thanks!

Ben

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