VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: cespal on June 17, 2014, 11:06:48 AM

Title: Continue Shopping Button
Post by: cespal on June 17, 2014, 11:06:48 AM
Hi,

I have a Joomla 2.5 website with virtuemart in a gavickPro template.
When I put a product in the cart and I press the "Continue Shopping Button" it opens me a blank page with the url: index.php / component / virtuemart / Itemid = 229.

Do you know where can I change the link so that when I press the button "Continue Shopping Button" it take me to the index website?

Thank you very much
Title: Re: Continue Shopping Button
Post by: GJC Web Design on June 17, 2014, 12:05:38 PM
I'm afraid your answer is there:::::     ->  gavickPro template

They have your money - now test their support...   :) ;)

http://forum.virtuemart.net/index.php?topic=108212.0

btw.  is Itemid 229 your VM shop frontpage menu item?
Title: Re: Continue Shopping Button
Post by: cespal on June 17, 2014, 13:42:46 PM
Sorry, but the query is for any type of template. Put it another free template.
The first thing I did was write Gavick forum and they've responded as follows:

"The URL is auto generated by VirtueMart and probably for more help you should contact with VM support."

Thank you very much


Title: Re: Continue Shopping Button
Post by: GJC Web Design on June 17, 2014, 13:49:39 PM
so you want that url to go some where else?

over ride  components/com_virtuemart/views/cart/tmpl/padded.php

Title: Re: Continue Shopping Button
Post by: cespal on June 17, 2014, 14:16:22 PM
Please, can you tell me where can I put the url?


// Check to ensure this file is included in Joomla!
defined('_JEXEC') or die('Restricted access');

echo '<a class="continue" href="' . $this->continue_link . '" >' . JText::_('COM_VIRTUEMART_CONTINUE_SHOPPING') . '</a>';
echo '<a class="showcart floatright" href="' . $this->cart_link . '">' . JText::_('COM_VIRTUEMART_CART_SHOW') . '</a>';
if($this->product){
   echo '<h4>'.JText::sprintf('COM_VIRTUEMART_CART_PRODUCT_ADDED',$this->product->product_name,$this->product->quantity).'</h4>';
}

if ($this->errorMsg) echo '<div>'.$this->errorMsg.'</div>';

if(VmConfig::get('popup_rel',1)){
   if($this->product and !empty($this->product->customfieldsRelatedProducts)){
      ?>
      <div class="product-related-products">
            <h4><?php echo JText::_('COM_VIRTUEMART_RELATED_PRODUCTS'); ?></h4>
      <?php
      foreach ($this->product->customfieldsRelatedProducts as $field) {
         if(!empty($field->display)) {
            ?><div class="product-field product-field-type-<?php echo $field->field_type ?>">
            <span class="product-field-display"><?php echo $field->display ?></span>
            </div>
Title: Re: Continue Shopping Button
Post by: GJC Web Design on June 17, 2014, 14:34:11 PM
$this->continue_link - replace with static link