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

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

How to do an automatic cart submit and redirect to checkout page

Thread began 4/09/2013 1:14 pm by rod431909 | Last modified 4/09/2013 4:10 pm by Jason Byrnes | 699 views | 8 replies |

rod431909

How to do an automatic cart submit and redirect to checkout page

I have a kind of unusual situation where I have a product page where I build the product SKU using user selections from a couple dropdown menus. Unfortunately I can't get to the product's unique db id this way. So I am forced to take the client to a detail page that shows the selected product (that way I can call the recordset) and then have them select a confirm your order button to get it into the eCart.

I would much prefer some way to automatically pass the info from this detail page directly into the cart without the client having to click the submit button. Does anyone know a way to automatically trigger the add to cart function after the recordset loads and redirect straight to the Check Out page?

Sign in to reply to this post

Jason ByrnesWebAssist

Use the add to cart server behavio on the detail page rather than the add to cart button.

to use the add to cart servder behavior, go to the server behaviors panle, click the plus button and select eCart -> Add to Cart -> Add to cart.

Use the recordset for the trigger and the bindings, and set the goto page.

Sign in to reply to this post

rod431909

Thanks Jason. Surely it can't be that simple? I'll let you know.

Sign in to reply to this post

Jason ByrnesWebAssist

But it is that simple ;)

Sign in to reply to this post

rod431909

Worked. Too cool. Although the Continue Shopping button on the checkout page doesn't work, but I can live with that. Thanks again!

Sign in to reply to this post

Jason ByrnesWebAssist

The continue shopping button only works in conjunction with the add to cart button, it wont work in conjunction with the add to cart behavior.

Sign in to reply to this post

rod431909

Thanks again Jason.

Sign in to reply to this post

Jason ByrnesWebAssist

you're welcome.

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