close ad
WARNING: Do Not Install the DREAMWEAVER CC 2017 or 2018 Update »
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Continue Shopping button and dynamic results and detail pages

Thread began 2/13/2014 6:57 am by m79618373377 | Last modified 2/13/2014 11:21 am by m79618373377 | 922 views | 3 replies

m79618373377

Continue Shopping button and dynamic results and detail pages

I am having problems with the 'Continue Shopping' Button and dynamic results and detail pages in ecart5.

As it stands if a user adds to the cart from the results page, they can click on the 'Continue Shopping' button in the cart and this redirects them back to the dynamic results page. This is fine. However, if they click on an 'Add to cart' button on a detail page, although it takes them to the cart, if they then click on a 'Continue Shopping' Button they are redirected back to the Detail page, when I require that they be redirected back to the dynamic results page.

After looking around the Community forums the only solution I could find was changing the code from 'Submit' to a button and using javascript with regarding to the 'Continue Shopping' button. For example:

<input type="button" name="WA_Store_Cart_Continue_100" id="WA_Store_Cart_Continue_100" value="Continue Shopping" alt="Continue Shopping" onClick="javascript: history.go(-1)"/>

There are two problems I perceive with this:

1. Although initially it seems workable, I would require two cart pages. One for the results page having a history of -1 and one for the detail page having a history of -2 with regard to the 'Continue Shopping' button.

2. Even if I decided to use the above method, this would still leave me in a predicament of what happens if someone clears the cart or removes an item and updates it. As soon as they click on any of these buttons, this would then refresh the page and users would have to click on the continue shopping button numerous times as the history would have changed.

Does anyone have a solution?

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