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


Can Add To Cart Bttn Add Multiple Items?

Thread began 8/01/2012 4:52 pm by mora398588 | Last modified 8/08/2012 12:57 pm by mora398588 | 420 views | 2 replies |


Can Add To Cart Bttn Add Multiple Items?

Some of our workshops include a materials fee in addition to the base price of the workshop. I was curious if the add to cart button using eCart can combine the prices of the two separate fees such as the base price of the workshop and the materials fee, and then add the combined price to the cart?

For example:

Workshop Price: $20.00
Materials Fee: $10.00

Combined Price: $30.00 *

*the combined price is sent to the cart.

What I have attempted to do, prior to sending this thread, is create the materials fee in the sql database that maintains the prices of the workshop and went to the eCart object and added another line column and labeled it MaterialsFee. I then went back to the file and opened up the add to cart Form Recordset and bound the MaterialsFee column to the default value in the sql; database for the Materials Fee.

However, when I tested this method, the cart did not show the combined total. It only showed the base price of the workshop.

Any help would be appreciated.

Sign in to reply to this post

Jason ByrnesWebAssist

you're on the right track, just need to take it a step farther.

on the calculations tab, create a new calculation as:

name: TruePrice
[MaterialsFee] + [Price]

and edit the Totalprice calculation from:
[Price] * [Quantity]

([MaterialsFee] + [Price]) * [Quantity]

In the cart display, change the binding that shows the price to show the truePrice instead.

Also, in the behavior that passes the item information to the gateway, you will need to edit it to pass the TruePrice instead of price.

Sign in to reply to this post



As always, you come through. Thank you for the help.

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