VirtueMart Forum

VirtueMart 2 + 3 + 4 => Templating & Layouts => Topic started by: satnag29 on March 21, 2013, 11:17:21 AM

Title: add to cart button is not working
Post by: satnag29 on March 21, 2013, 11:17:21 AM
Hi,

I have one site in Joomla 1.7.3 and virtuemart 2.0.20b.
I purchased the joomla template from template monster and installed new version of virtuemart.
But add to cart is not working, when i click on it , nothing happens.
http://brakesmobile.com/index.php?option=com_virtuemart&view=productdetails&virtuemart_product_id=1&Itemid=604
here you can see the product.

If i change the template to beez or any other free template, it seems working fine, but its not working with current template.

Plz let me know, how can i fix this issue.
most probably it may be jquery issue.

Thanks.
Title: Re: add to cart button is not working
Post by: jenkinhill on March 21, 2013, 12:24:20 PM
Firstly, I suggest you upgrade your Joomla version. J1.7.3 has known critical security issues, is no longer supported and should not be used for a live site. Current Joomla version for VirtueMart 2  is 2.5.9

There are multiple issues with the template - the error report from IE10's debugger is below. Looking at some of the generated code it looks like the TM template overrides are for an older version of VirtueMart - I suspect for 2.0.6. But all versions of VirtueMart below 2.0.10 are considered to be insecure so should not be used. I suggest you ask Template Monster to provide override files which will work with current VirteMart versions - but based on reports from other TM users I suspect they will not be helpful.

HTML1524: Invalid DOCTYPE. The shortest valid doctype is "<!DOCTYPE html>".
index.php, line 1 character 2
HTML1423: Malformed start tag. Attributes should be separated by whitespace.
index.php, line 153 character 102
HTML1423: Malformed start tag. Attributes should be separated by whitespace.
index.php, line 165 character 269
HTML1423: Malformed start tag. Attributes should be separated by whitespace.
index.php, line 165 character 446
HTML1423: Malformed start tag. Attributes should be separated by whitespace.
index.php, line 165 character 619
SCRIPT438: Object doesn't support property or method 'fancybox'
index.php, line 99 character 2
SEC7115: :visited and :link styles can only differ by color. Some styles were not applied to :visited.
index.php
SCRIPT438: Object doesn't support property or method 'fancybox'
index.php, line 99 character 2
SCRIPT5007: Unable to get property 'settings' of undefined or null reference
vmprices.js, line 65 character 14