Search code examples
javascriptphpjqueryjoomlavirtuemart

Virtuemart 2.6.6 Return to same page after add to cart


I am using joola2.5 and virtuemart 2.6.6. I have the modal pop up box enabled which pops up when I perform an add to cart operation (where I have embedded add to cart buttons in the category view).

The problem is that after adding the item the next page that is loaded is the last category that I browsed to. I would like to be able to return to the exact same page before clicking add to cart. Not sure if this is a bug, but would there be a simple variable that is stored and called to remember the last page? I guess I can just add this in the code near the add to cart button but I have no idea what it would look like or how it would be implemented.


Solution

  • Try clearing your cache after activating SEF. Make sure you remove all cookies. It works on my machine, but slider is missing off front page. Good luck.