close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues


Making the add to cart button work

Thread began 5/30/2012 9:34 am by tyler815351411 | Last modified 5/30/2012 7:04 pm by tyler815351411 | 333 views | 2 replies |


Making the add to cart button work


I have used data bridge to create some a standard result and detail page for a small shop website I am building. Data bridge has created the pages and inserted the add to cart buttons. I have used ecart 5 to setup the cart page and all the other pages.

But what do I need to do in order to get the add to cart button to work. Before using data bridge I wouold just insert an add to cart button where I wanted on the page, but I get an error saying that there is already a form.

I am assuming that I need to adjust the add to cart button that data bridge has created so that it adds the item to the cart and then re-directs users to the shopping cart page I created using ecart.

Please can some help, I tried all day looking through your website to find a tuturial for this but could not find one.

See attached results page

Kind Regards


Attached Files
Sign in to reply to this post

Jason ByrnesWebAssist

When creating the Detail page, you should deselect the option to include the delete button if it will be used as a public add to cart page.

The add to cart button that is added, is really just a place holder.

you should delete the following code from the detail page:

<form class="DetailsPage Cool_Default" id="Results_Cool_Default" method="post"  action="<?php echo (htmlentities($_SERVER["PHP_SELF"], ENT_QUOTES)); ?>">

<input type="submit" value="Add To Cart" class="formButton Cool" id="Cool" name="Cool" />


then add the eCart add to cart button behavior.

Sign in to reply to this post


Many thanks all sorted

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





Ease of use


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