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

Dynamic Add to cart buttons on my own catalogue page

Thread began 9/04/2011 8:24 pm by chiakioda428401 | Last modified 9/07/2011 3:17 pm by Jason Byrnes | 556 views | 1 replies |

chiakioda428401

Dynamic Add to cart buttons on my own catalogue page

When I place add to cart button on the catalogue page, which we created ourselves, and make it as a dynamic button, how can I have them to talk with database?
In other words, how can I specify the button to represent exact item in the database.
We are using the free eCommerce MySQL database provided by WebAssist, and created product insert/delete pages using dataassist, and the product sku and other columns are stored in the database. Catalogue page has the recordset, named "record set 1", which is linking to the database. I just can't get the add to car buttons specifying the each products, it always refer to the first line of the database.

Sign in to reply to this post

Jason ByrnesWebAssist

When you add the add to cart button to the page, select the option to lookup item from a recordset.

On the bindings tab, this will set the ID column to use the ID column from the recordset selected.

when this is added to the page, it will create a hidden form element, the hidden form element will have the value set to use the id column from the recordset, this will pass the correct item ID to the add to cart behavior when selected.

If your having trouble getting this to work, please compress you page to a zip archive and attach the zip file to your message so I can see the code to have an idea what may be wrong.

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