Welcome, Guest
Username: Password: Remember me
Use this Category for your support questions about Virtuemart Template - CleanMart (SKU# FLEX-00015)

TOPIC: Continue Shopping link redirect problem

Continue Shopping link redirect problem 8 years 4 months ago #13208

Hello,

1. In my development site, I notice that the Continue Shopping button in the dropdown cart and in the actual cart area redirects to the home page of the site, and not the online shop or VM page that the shopper was on. There seems to be a double slash that occurs before the index.php part of the url as follows :
examplesite.com//index.php?option=com_virtuemart&view=category&virtuemart_category_id=2&Itemid=382

Please advise.

2. Another problem that seems very strange... when the dropdown cart is empty, it shows the number 44 in the red circle. Why is this, and how do we change it to show a 0 (zero) as it should be?

Thank you.
Last Edit: 8 years 4 months ago by Alison Effting. Reason: Remembered a second cart issue that needs resolving - since it is the weekend and assume that it will be looked at during business hours, thanks.
The topic has been locked.

Continue Shopping link redirect problem 8 years 4 months ago #13220

Hi,

VirtueMart Core is responsible generating the link of that "Continue" button (dynamically) by this file: root/components/com_virtuemart/helpers/vmview.php with this line:
$this->continue_link = JRoute::_ ('index.php?option=com_virtuemart&view=category' . $categoryStr.$ItemidStr, FALSE);

So, it is impossible that the link has double slash.

My guess is, you have the wrong $live_site variable inside the root/configuration.php file. Open the configuration file and find the $live_site variable, make sure it is blank.
public $live_site = '';

Alternatively, you can define a constant URL for that "continue link", open this PHP file: root/templates/YOUR_TEMPLATE/html/com_virtuemart/cart/padded.php and find this line:
<a target="_parent" class="flexibleContinue flexibleButton" href="<?php echo $this->continue_link ?>"><?php echo  JText::_('COM_VIRTUEMART_CONTINUE_SHOPPING') ?></a>

and change it to this:
<a target="_parent" class="flexibleContinue flexibleButton" href="URL_GOES_HERE"><?php echo  JText::_('COM_VIRTUEMART_CONTINUE_SHOPPING') ?></a>

2- I need to see your website to see what is happening. Of course it is supposed to show 0 if the cart is empty. (FYI: make sure disable the"System - Page Cache" plugin. It uses "page caching" and causes that kind of unexpected results in VM websites, because VM requires dynamic rendering. That plugin is forcing Joomla Pages to be "static")

Regards
Last Edit: 8 years 4 months ago by Support.
The topic has been locked.

Continue Shopping link redirect problem 8 years 4 months ago #13228

Thanks very much for your reply:

1. Will check the config files - could be incorrect due to the subdomain dev site I imagine.

2. The test shop is at www.test.allisone.co.za/onlineshop and the dropdown cart is published on all the site pages. Checked the system plugin, and it is disabled, has been all along. I checked the cart icon on my iphone as well, and the 44 is there too with the empty cart.

Firebug on the icon shows the following:
<a class="flexible_cart_icon" href="/check-in-my-items-usermenu-15">
<span class="flexibleNumber"> 44 </span>
</a>

Thanks again.
The topic has been locked.

Continue Shopping link redirect problem 8 years 4 months ago #13260

Hi,

The Shopping Cart issue is really weird. Never seen something like this before. I have no idea why 44 is printed there. (by the way, i presume that you haven't touched the core files of Dropdown Shopping Cart Module)

Please fill out this support-request-form below and email to This email address is being protected from spambots. You need JavaScript enabled to view it.. I will deeply investigate the source codes to figure out what goes wrong.
Problem: 
http://www.flexiblewebdesign.com/forum-virtuemart-template-support/3102-continue-shopping-link-redirect-problem
 
Joomla Administrator: 
	<< Joomla Administrator username & password >>
 
FTP credentials (Provide FTP credentials in this format)
	FTP server: ftp.yourdomain.com
	FTP username: <<username>>
	FTP password: <<password>>
	Port: << port number -- if it is other than 21 -->>

Regards.
The topic has been locked.

Continue Shopping link redirect problem 8 years 4 months ago #13264

I have sent the details as requested by email. Just to confirm your assumption, I have not touched the core files of the Dropdown Shopping Cart Module.

As to the first query about the continue shopping link, there was nothing unusual in the configuration file - so the double slash that is generated remains a bit of a mystery to me as well.

Thanks very much.
The topic has been locked.

Continue Shopping link redirect problem 8 years 4 months ago #13276

I have fixed both of your problems on your website and sent you an email about what i have done, what files i have modified etc..

Case is resolved. Topic is closed.

If you like CleanMart and satisfied with the support you have received, please "write a review" on:
www.flexiblewebdesign.com/Virtuemart-2-Templates/CleanMart

Write couple of sentences to share your experience with the support team.
Just 2-3 sentences would be enough ;) It might sound simple to you, but it is extremely important. Potential customers care about product reviews very much.

Thanks in advance!

Regards,
Support
The topic has been locked.
Time to create page: 0.228 seconds

MaterialMart

for Virtuemart 3

Google's Material Design has finally arrived to Virtuemart

Virtumart Template - MaterialMart Virtumart Template - CleanMart Virtumart Template - CleanMart Virtumart Template - CleanMart

Fully responsive!

Buy Now   |   Live Demo