Had big problem with NEWS pro 5 module.
When adding to cart there is a popup button that has continue shopping and end shopping so when you click continue shopping the page redirects you to default Virtuemart store, and that is what client does not want, so here is a fix to the button continue shopping that does not redirects to default store, it just reload the same page.
Find file: padded.php
/public_html/components/com_virtuemart/views/cart/tmpl
Finde code line 23:
- Code: Select all
echo '<a class="continue_link" href="' . $this->continue_link . '" >' . vmText::_('COM_VIRTUEMART_CONTINUE_SHOPPING') . '</a>';
edit like this one
- Code: Select all
echo '<a class="continue_link" href="javascript:document.location.reload(true)"' . $this->continue_link . '" >' . vmText::_('COM_VIRTUEMART_CONTINUE_SHOPPING') . '</a>';
Hope that helps to someone...
