Shape 5

Joomla Templates => Business Pro - Club => : ignatius22 October 01, 2013, 05:31:39 AM



: Virtuemart Shopping cart not working on Business Pro
: ignatius22 October 01, 2013, 05:31:39 AM
Hi Guys
I installed VM on Business Pro (Joomla 2.5.14). It is all looking FAB, but the shopping cart does not work. You click "ADD TO CART" and go to the next screen but no products has been added. I changed the template to Shopping Bag, and it is working perfect. It is clear that there is an Javascript issue somewhere (JQuery or Mootools). How do I find out where the problem is and how to correct it.

PLEASE HELP URGENTLY!!!!

Domain: http://41.185.8.54/~linger2/

Thank You
Ignatius


: Re: Virtuemart Shopping cart not working on Business Pro
: mikek October 01, 2013, 07:30:29 AM
Hello,

Your site is producing several errors which are not related to the template:

TypeError: jQuery(...).fancybox is not a function
   

"transitionOut"   :   "elastic"


That error is related to virtuemart, not the template, which would cause other javascript functions on the page to stop working. Jquery is not meant to be used in Joomla 2.5 as it's not native, and that is what virtuemart is doing. There are also other other issues with the way they are calling jquery, for example this script:

<link rel="stylesheet" href="/~linger2/components/com_virtuemart/assets/css/jquery.fancybox-1.3.4.css" type="text/css" />

Is called in the source before the jquery min file is even called, so it will be undefined.

This is something you would need to contact virtuemart about.


: Re: Virtuemart Shopping cart not working on Business Pro
: ignatius22 October 01, 2013, 01:04:29 PM
Hi Mikek.
Thanks a million for your reply.
It seems I am left with 2 options, as I am working against time.

1. I am not sure if it is possible for me to correct these errors myself. I am not a programmer.
I am able to find the correct file and edit or remove the wrong line. We know that VM does not reply quickly to support tickets.
Is there any way that you can guide me on how to correct these issues. I am certain that there are a number of your clients attempting to use Virtuemart on your later templates, and it will be of benefit to them as well.

2. Or I go back and find and older template, as I stated, it is working perfectly fine with the Shopping Bag template. It will be sad as I got to like the Business Pro template. Sadly I can't use Shopping Bag again, as I just used it on another similar site (http://www.heidik.co.za/ ) still under development!!

Thanks again for the GREAT work you guys are doing!!!
Ignatius


: Re: Virtuemart Shopping cart not working on Business Pro
: mikek October 01, 2013, 01:49:22 PM
Hello,

1. I am sorry we can't provide support on a third party product. I am not familiar enough with the layout of their coding to be able to do this. We do not have any other reports from other members saying that there is an issue with our templates and virtuemart.

2. I am not really sure how that would be possible, the Shopping Bag template uses the exact same scripts as Business Pro because they are built on the same framework. You can try disabling modules and plugins to see if any of those are perhaps interfering.