News:

Support the VirtueMart project and become a member

Main Menu

Stay on Product Page after add to Cart

Started by ooweboo, October 23, 2013, 20:42:28 PM

Previous topic - Next topic

ooweboo

Joomla 2.5.9
VM 2.0.22c

Hi i have looked all over for a solution, i want clients to be able to select all the products they want and then go to checkout to pay. Currently clients select a product then go to checkout then need to go back to get more products?

Help is highly appreciated...  www.dinedivine.co.za

jenkinhill

It was obvious from your decsription that you do not see the fancybox popup after clicking add to cart. That gives a choice of continue shopping or going to checkout.
See http://demo.virtuemart.net/index.php/2012-01-13-09-33-20/virtuemart-default-layout/mobile-phones/i9000-galaxy-s-detail  and add to cart for an example of what shoud happen.

JavaScript debugger shows this error:
Line: 88
Error: Object doesn't support property or method 'fancybox'

First script issue on your site is that you load 3 jQuery versions, likely to cause conflict:
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.6/jquery.min.js" type="text/javascript"></script>  <<<<<<<< loaded by K2
<script src="/components/com_virtuemart/assets/js/jquery.min.js" type="text/javascript"></script>   <<<<<<<< This one is loaded by VirtueMart
<script src="/media/jui/js/jquery.min.js" type="text/javascript"></script>  <<<<<<<< related to bootstrap.js - also template related.

Something is stopping fancybox from running and causing your issue. It will be a .js file but you will have to hunt it down by removing elements that the template is loading to work out where the conflict is.

This may help:  http://forum.virtuemart.net/index.php?topic=119638.0

Also I suggest you update your Joomla version which has a known critical security issues which hasalready been exploited by hackers. Current versions are J2.5.14 and VM2.0.24

If you are using template overrides from earlier versions and these have not been updated to work with VM2.0.22c+ then you may need to sedit them - see the note in the security update announcement about template overrides:  http://virtuemart.net/news/latest-news/446-important-security-release-vm-team-at-joomladay-germany
And see http://forum.virtuemart.net/index.php?topic=118683
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

ooweboo

Thank you for the detailed answer, ill have a look and report back...