VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: itye2012 on June 28, 2012, 18:52:54 PM

Title: Redirect the continue shopping link
Post by: itye2012 on June 28, 2012, 18:52:54 PM
is there an easy way to redirect the continue shopping link from the cart to a page of my choice and not the default VM page?

Many Thanks
Title: Re: Redirect the continue shopping link
Post by: gertnet on July 12, 2012, 11:04:30 AM
Also looking for this one. i get redirected to /index.php/component/virtuemart/ when pressing "continue shopping"
(using virtuemart 2.0.8.c -joomla 2.5.6)
Title: Re: Redirect the continue shopping link
Post by: ivus on July 18, 2012, 10:12:37 AM
I don't recommend doing this, however you need a solution.

There are 9 "continue shopping" links that I could see on the site. They are used in different places and on different pages.

To change, do a site wide search for "JText::_ ('COM_VIRTUEMART_CONTINUE_SHOPPING')"... this will yield pages containing the actual link text "continue shopping".


then on each page, all you have to do is change the HREF attribute that encloses it with a link of your choice


<?php echo JRoute::_('index.php?option=com_YOURCOMPONENT&view=YOURVIEW'); ?>

I hpoe this helps.
Title: Re: Redirect the continue shopping link
Post by: odins701 on January 08, 2014, 23:13:21 PM
i'm facing the same situation. when clicking the continue button i need it to stay on that page and not redirect. can anyone help me please?