When the user press continue shopping, you want them to stay in the same page? Why?

Because if you're navigating in page 12 of category X (just an example) and you click add to cart . .  pop up comes, you click "Continue shopping" and voila!

The button sends you at the first categories page . . (and yes, that's sucks) and you'll have to search for page 12 all over again.

Override components\com_virtuemart\views\cart\tmpl\padded.php


echo '<a class="continue_link" href="' . $this->continue_link . '" >' . vmText::_('COM_VIRTUEMART_CONTINUE_SHOPPING') . '</a>';


echo '<a class="continue_link" href="javascript:void(0);" onclick="jQuery.fancybox.close();" >' . vmText::_('COM_VIRTUEMART_CONTINUE_SHOPPING') . '</a>';

  1. When you press continue shopping the page reload and stay where are you.
  2. When you press the x button to close the popup windows the page does not reload and the cart get updated.