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


Only 1 item in the cart...

Thread began 3/03/2009 10:33 am by daniel279790 | Last modified 5/31/2009 4:03 pm by Brainthief | 1521 views | 2 replies |


Only 1 item in the cart...

Is it possible to make ECart only display 1 item in the cart. I know about the 'If item in cart' - Replace, Add New, Ignore and Sum. But that only seems to work if its the same item you are adding to the cart.

I need my cart to only ever have one item in it and to replace old items with the new one you've just added.

So if item '1' is in the cart and then you click to add a different item '2' it would replace '1' and only have '2' in the cart.

Hope that makes sense.

I'm using PhpMyAdmin, Ecart 4.15, on a MacBook Pro running Dreamweaver CS3.

Many Thanks

Sign in to reply to this post

Ray BorduinWebAssist

Just give them all the same ID in the cart and set to replace if item is in the cart. Set all of the ID values to 1. If you want to store the ID, create another column to store that in so that items always have the same ID. This in conjunction with using the replace option in the add to cart button will accomplish what you need.

Sign in to reply to this post
Did this help? Tips are appreciated...


Glad I found this post... just what I needed.

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