VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: StefanSTS on February 17, 2014, 09:00:38 AM

Title: Continue shopping link in 2.0.26d
Post by: StefanSTS on February 17, 2014, 09:00:38 AM
Hello,

in five files (mostly view.html.php) of 2.0.26d you find:
$continue_link = JRoute::_ ('index.php?option=com_virtuemart&view=category' . $categoryLink, FALSE);

To make it easier to change the continue shopping link, it would be nice to be able to change $continue_link in the configuration of VirtueMart, so the admin can choose to go back to the startpage, the category, the product itself or a custom link.

Just an idea
Stefan

PS. Just had a look into the 2.1.1 and there is another file /controllers/cart.php. With a different solution
$categoryLink = '';
$continue_link = JRoute::_('index.php?option=com_virtuemart' . $categoryLink);