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

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Add to Cart Question

Thread began 7/21/2009 5:52 pm by info374483 | Last modified 7/22/2009 10:31 am by Ray Borduin | 681 views | 1 replies |

info374483

Add to Cart Question

I have a recordset that a programmer added to my productsItem.php page and it was not created in Dreamweaver. The database connection is there but there is no binding or server behavior since he created the recordset outside of Dreamweaver. My question is, can I add a link with the recordset that he created and link it to the cart.php page in eCart. When I do this nothing adds to the cart. Do you know if this is possible? Example link is <a href="cart.php?strrecID=<?php echo $record->recID; ?>">add to cart!</a>.

Sign in to reply to this post

Ray BorduinWebAssist

It may require a small amount of hand code curently, but it can probably be done. I'd have to look at the original code to tell you the best technique.

Most likely it would work if you just:

1) create a new page to add the item to the cart... make it a blank page, the reality is the page will never actually be shown, so you could even remove all of the <html>

2) add a recordset to the page with DW. Have it return the items you want added to the cart. In this case use the "simple" recordset view and choose the filter option ot fiter bassed on the passed url parameter strrecID.

3) apply the "eCart->Add to cart->add to cart from recordset" server behavior to insert the returned row into the cart.

4) set the redirect in this interface to go to the view cart page you create using the eCart display manager in order to continue to the checkout process.

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