VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: yvetteross on January 20, 2014, 16:13:43 PM

Title: Redirect after Adding To Cart
Post by: yvetteross on January 20, 2014, 16:13:43 PM
Please can someone assit me here as I am not experienced in php and assume that some php change must be made

I have attached 2 screenshots called "wrong" and "right".  At the moment, when clicking on "continue shopping" the link redirects to the first page in the category as shown in the screenshot "wrong".  I need this link to redirect to the page that the user was currently on.  I have noticed that when clicking on the "x" in the popup box (to close the box) this is redirected back to the page that was last viewed.  How can I get the "continue shopping" button to redirect to the last viewed paged as it does when clicking on the "x"?? 

Thanks

[attachment cleanup by admin]
Title: Re: Redirect after Adding To Cart
Post by: jenkinhill on January 20, 2014, 17:29:13 PM
Solution was posted here:  http://forum.virtuemart.net/index.php?topic=97829.msg411750#msg411750

This still works in the current version, VM2.0.26d