News:

Looking for documentation? Take a look on our wiki

Main Menu

VM 2 Shopping cart module. Help! Big problem.

Started by AntiInt, March 08, 2013, 05:21:02 AM

Previous topic - Next topic

AntiInt

Hello!
I have scroller on front page of site. This scroller works fine.
But when i turn on standart module vm_shopping cart, this scroller stops.
Also other javascripts does't work.
scripts before shopping cart turn on:
</style>
  <script src="/media/system/js/mootools-core.js" type="text/javascript"></script>
  <script src="/media/system/js/core.js" type="text/javascript"></script>
  <script src="/media/system/js/modal.js" type="text/javascript"></script>
  <script src="//ajax.googleapis.com/ajax/libs/jquery/1.8/jquery.min.js" type="text/javascript"></script>
  <script src="/media/k2/assets/js/k2.noconflict.js" type="text/javascript"></script>
  <script src="/components/com_k2/js/k2.js" type="text/javascript"></script>
  <script src="/media/system/js/caption.js" type="text/javascript"></script>
  <script src="/media/system/js/mootools-more.js" type="text/javascript"></script>
  <script src="/media/scrolltop/js/gt.min.js" type="text/javascript"></script>
  <script src="http://gector.unikron.ru/modules/mod_umi3dtagcloud/clouds/html5/tagcanvas.js" type="text/javascript"></script>
  <script src="http://gector.unikron.ru/modules/mod_umi3dtagcloud/js/jquery-1.7.2.min.js" type="text/javascript"></script>
  <script src="http://gector.unikron.ru/modules/mod_umi3dtagcloud/js/jquery-plugins/prettyphoto/js/jquery.prettyPhoto.js" type="text/javascript"></script>
  <script src="/modules/mod_xpertscroller/assets/js/xpertscroller.js" type="text/javascript"></script>
  <script src="/modules/mod_xpertscroller/assets/js/script.js" type="text/javascript"></script>
  <script src="/modules/mod_jpanel/assets/js/jpanel.min.js" type="text/javascript"></script>
  <script type="text/javascript">

scripts after shopping cart turn on
</style>
  <script src="/media/system/js/mootools-core.js" type="text/javascript"></script>
  <script src="/media/system/js/core.js" type="text/javascript"></script>
  <script src="/media/system/js/modal.js" type="text/javascript"></script>
  <script src="//ajax.googleapis.com/ajax/libs/jquery/1.8/jquery.min.js" type="text/javascript"></script>
  <script src="/media/k2/assets/js/k2.noconflict.js" type="text/javascript"></script>
  <script src="/components/com_k2/js/k2.js" type="text/javascript"></script>
  <script src="/media/system/js/caption.js" type="text/javascript"></script>
  <script src="/media/system/js/mootools-more.js" type="text/javascript"></script>
  <script src="/media/scrolltop/js/gt.min.js" type="text/javascript"></script>
  <script src="http://gector.unikron.ru/modules/mod_umi3dtagcloud/clouds/html5/tagcanvas.js" type="text/javascript"></script>
  <script src="http://gector.unikron.ru/modules/mod_umi3dtagcloud/js/jquery-1.7.2.min.js" type="text/javascript"></script>
  <script src="http://gector.unikron.ru/modules/mod_umi3dtagcloud/js/jquery-plugins/prettyphoto/js/jquery.prettyPhoto.js" type="text/javascript"></script>
  <script src="/modules/mod_xpertscroller/assets/js/xpertscroller.js" type="text/javascript"></script>
  <script src="/modules/mod_xpertscroller/assets/js/script.js" type="text/javascript"></script>
  <script src="/modules/mod_jpanel/assets/js/jpanel.min.js" type="text/javascript"></script>
  <script src="//ajax.googleapis.com/ajax/libs/jquery/1.6.4/jquery.min.js" type="text/javascript"></script>
  <script src="/components/com_virtuemart/assets/js/jquery.noConflict.js" type="text/javascript"></script>
  <script src="/components/com_virtuemart/assets/js/vmsite.js" type="text/javascript"></script>
  <script src="/components/com_virtuemart/assets/js/facebox.js" type="text/javascript"></script>
  <script src="/components/com_virtuemart/assets/js/vmprices.js" type="text/javascript"></script>
  <script type="text/javascript">


Take plase these errors:
Uncaught TypeError: Object [object Object] has no method 'prettyPhoto'

I don't know what to do.
Please help.

jjk

At a first glance it looks like two different versions of jQuery are loaded via googleapis.com. Make shure that only one version of jQuery is being loaded. Usually I recommend not to enable the Google jQuery, because you never know if all your extensions are compatible with the version they supply. In VirtueMart configuration, you may enable either the VM jQuery or the Google jQuery, but not both.
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations