close ad
Install the LAtest Updates to Work with CC 2017 and CC 2018
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

unique eCart

Thread began 4/06/2009 4:57 am by jon245706 | Last modified 4/07/2009 10:21 am by Ray Borduin | 1218 views | 3 replies |

jon245706

unique eCart

I need to get the eCart to behave in the same way as Amazon's shopping cart.

i.e. when the user logs out or ends their session, the contents of their eCart are saved and available to them when they log back in.

If another user logs in on the same computer, the eCart object retrieves the previous cart that was used on that computer.

Why ?!

If anyone can help please.

Thanks

Sign in to reply to this post

Ray BorduinWebAssist

You would have to store the information in a database and retrieve it from the database in order to achieve this result. Very possible with the existing server behaviors "Store cart summary in database" and the add to cart server behavior "Get Cart From Recordset".

Sign in to reply to this post

jon245706

Hi Ray

I am using the store cart summary & cart details extensions, which seem to be working ok.

I need to make sure that there is only ever one order reference stored ever for each user. i.e. the order never gets shipped or closed. the order always stays on the database (i.e. like a set of permanently saved favourites)

i can see in the asp code that the extension writes that it performs a "delete" operation on the database. is there any documentation on this delete section.

i thought perhaps that if eCart Store Cart Summary sees the current order reference in the database it deletes it and overwrites it.

have i got this wrong ?

Sign in to reply to this post

Ray BorduinWebAssist

That is correct that is how it works.... but really you shouldn't need store cart summary at all.

Just use store cart details and use the userID as the cartID setting since each user will have only one cart. The summary table is really there to allow one user to have more than one order, and it wouldn't be necessary unless you wanted a single user to be able to store multiple carts in your scenario.

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