close ad
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Specify a return url based on

Thread began 5/18/2010 3:23 am by JohnPicton | Last modified 5/19/2010 8:18 am by JohnPicton | 2688 views | 9 replies

CraigRBeta Tester


Firstly, test what you have done so far, to show that the session variable is being set and that the return works properly.

If this is OK, then step 2 needs a little bit of thought. (I haven't used ecart for a few months - if I don't get this right, perhaps someone from Webassist can step in)

From what i recall, there is a block of code on the cart page like this...

while (!$YOURCARTNAME->EOF()) were YOURCARTNAME is whatever you called your cart instance.

I think this is where the code loops through the cart array and sends it to the page

I think the best thing, is to do some 'if' statements within this loop, to check if the product id you are looking for is in the cart.

if it is, set a variable to true or something like that.

outside of this loop, test for true, and then set the session variable accordingly.

without looking at it in detail, i am guessing a bit, so i hope i don't led you astray.

Hopefully on of the WA guys can come in here too and advise.

Hope this helps

** What do you know, Jason got in there before me with what looks like an easier solution **

Thanks Jason


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