VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: one on January 12, 2012, 09:21:52 AM

Title: Button Add to Cart not work
Post by: one on January 12, 2012, 09:21:52 AM
Button Add to Cart not work, when pressing it nothing happens. Server logs is clear. Where can be problem?
Title: Re: Button Add to Cart not work
Post by: jenkinhill on January 12, 2012, 23:15:32 PM
http://forum.virtuemart.net/index.php?topic=95979.msg315424#msg315424

http://dev.virtuemart.net/projects/virtuemart/wiki/General_JS-Problems_with_templates_and_jQuery

Title: Re: Button Add to Cart not work
Post by: one on January 13, 2012, 13:50:22 PM
Thank you foir links.

I have try this solution:
Quotehttp://dev.virtuemart.net/projects/virtuemart/wiki/General_JS-Problems_with_templates_and_jQuery

But when I emty table _virtuemart_adminmenuentries I have lost VM admin menu.
Title: Re: Button Add to Cart not work
Post by: PRO on January 13, 2012, 15:22:38 PM
Quote from: one on January 13, 2012, 13:50:22 PM
Thank you foir links.

I have try this solution:
Quotehttp://dev.virtuemart.net/projects/virtuemart/wiki/General_JS-Problems_with_templates_and_jQuery

But when I emty table _virtuemart_adminmenuentries I have lost VM admin menu.

BECAUSE YOU DID NOT READ what it said clearly.

*Slightly different, but similar is the problem, when the backend jQuery is broken.*
Title: Re: Button Add to Cart not work
Post by: one on January 18, 2012, 10:51:54 AM
Hello!

Sorry, I have not correct read. Now I have checked all plugins, modules on my site and I can't find conflicts. This is all scripts wich is loaded on VM page:

Quote
  <script type="text/javascript" src="/includes/js/joomla.javascript.js"></script>
  <script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1.6.4/jquery.min.js"></script>

  <script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jqueryui/1.8.16/jquery-ui.min.js"></script>
  <script type="text/javascript" src="http://www.xxxx.xx/components/com_virtuemart/assets/js/jquery.ui.autocomplete.html.js"></script>
  <script type="text/javascript" src="/components/com_virtuemart/assets/js/vmsite.js"></script>
  <script type="text/javascript" src="/components/com_virtuemart/assets/js/facebox.js"></script>
  <script type="text/javascript" src="/components/com_virtuemart/assets/js/vmprices.js"></script>
  <script type="text/javascript" src="/media/system/js/mootools.js"></script>

  <script type="text/javascript" src="/media/system/js/modal.js"></script>
  <script type="text/javascript">

Have tryed turn on/off Google and Vm JQuery with out results. My template not load any scripts and JQuery. Turn off SEF (sh404sef) not help too. Alos I have reade all post pusted here http://forum.virtuemart.net/index.php?topic=95979.msg315424#msg315424 and cant finde solution for me.

I understand problem is in my side but not have any ideas how check script conflicts.