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