Hi,
To change the "continue shopping" link URL manually, do the customization in this PHP file:
root/components/com_virtuemart/views/cart/view.html.php
And look for this line:
private function prepareContinueLink() {
// Get a continue link */
$virtuemart_category_id = shopFunctionsF::getLastVisitedCategoryId();
$categoryLink = '';
if ($virtuemart_category_id) {
$categoryLink = '&virtuemart_category_id=' . $virtuemart_category_id;
}
$continue_link = JRoute::_('index.php?option=com_virtuemart&view=category' . $categoryLink, FALSE);
$continue_link_html = '<a class="continue_link" href="' . $continue_link . '" ><span>' . JText::_('COM_VIRTUEMART_CONTINUE_SHOPPING') . '</span></a>';
$this->assignRef('continue_link_html', $continue_link_html);
$this->assignRef('continue_link', $continue_link);
}
I don't know what sh404SEF is redirecting this URL, this is not our area to solve this problem, but you can manually change this line:
$continue_link = JRoute::_('index.php?option=com_virtuemart&view=category' . $categoryLink, FALSE);
to
$continue_link = "MANUAL URL GOES HERE";
At least it is better than going to homepage.
Regards.