VirtueMart Forum

VirtueMart 2 + 3 + 4 => Administration & Configuration => Topic started by: psmarketing on March 28, 2013, 21:35:58 PM

Title: Continue Shopping Button
Post by: psmarketing on March 28, 2013, 21:35:58 PM
I cannot find the options for showing a "Continue Shopping" button while in cart. The only way to go back to the store is by hitting back? That seems weird.
Where can I find this functionality?
Title: Re: Continue Shopping Button
Post by: jenkinhill on March 29, 2013, 12:29:52 PM
A continue shopping link is present in the added to cart popup and on the cart/checkput page. Which of yours is missin?

http://forum.virtuemart.net/index.php?topic=79799.0
Title: Re: Continue Shopping Button
Post by: psmarketing on April 17, 2013, 21:38:32 PM
My apologies:

I am using VirtueMart Version -    2.0.20b
On Joomla! 2.5.8 Stable [ Ember ] 8-November-2012 14:00 GMT

I currently do not use the pop-up feature. The only button I see in the cart and during the check-out process is the "Check out Now" which later turns into "Confirm Purchase"

Would this be something that the template is omitting? Thank you for your help
Title: Re: Continue Shopping Button
Post by: jenkinhill on April 17, 2013, 23:30:48 PM
If you are using template overrides then the continue shopping link may well be missing. The code for it in the default template at components/com_virtuemart/views/cart/tmpl/default.php   is

<?php // Continue Shopping Button
         if ($this->continue_link_html != '') {
            echo $this->continue_link_html;
         } ?>
Title: Re: Continue Shopping Button
Post by: psmarketing on April 20, 2013, 01:40:37 AM
Thank you for this solutions, this worked perfectly as I found out that this was out of the override from the template.

One exception here: the url

Currently it goes to:
/component/virtuemart

which does not work for us... we need it to go to

/shop

Would you please let me know where I can change this?

Thanks,
Title: Re: Continue Shopping Button
Post by: jenkinhill on April 20, 2013, 10:51:43 AM
That is a SEF question - post here:  http://forum.virtuemart.net/index.php?board=116.0
Title: Re: Continue Shopping Button
Post by: psmarketing on April 24, 2013, 20:13:43 PM
I am literally talking about where do I change the direction of that specific link, not SEF. How do I make the "continue shopping" link to go to an specific page I want?
Title: Re: Continue Shopping Button
Post by: jenkinhill on April 24, 2013, 23:48:17 PM
Edit the  echo $this->continue_link_html;   to go you the page url you want. Whatever "Shop"is.