News:

Support the VirtueMart project and become a member

Main Menu

Add to cart problem

Started by tsvetipl, October 31, 2012, 10:10:08 AM

Previous topic - Next topic

tsvetipl

Hello I am working with Joomla 2.5 and Virtue mart 2.5, template with Artesteer. When I add a product in the cart is not show, I have to refresh or go to another page and the the products are show in the cart. Everything was ok until last week , from that time I made some upgrade on VM version and my template.

tsvetipl

Here is a link to the site http://bebecomfort.co/  The site is in Bulgarian, ant cart is under the registration form on right hand side.

Thanks

bytelord

#2
Hello,

Using Artesteer is not a good option, produces templates that are too mess, imho. In you case there is another one javascript conflict that have been answer many times on the forum (only today 5-6 times i suppose).

In your case you are loading jquery 3 times!!

<script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1.6.4/jquery.min.js">
<script type="text/javascript" src="/components/com_virtuemart/assets/js/jquery.noConflict.js">
<script type="text/javascript" src="/components/com_virtuemart/assets/js/vmsite.js">
<script type="text/javascript" src="/components/com_virtuemart/assets/js/facebox.js">
<script type="text/javascript" src="/components/com_virtuemart/assets/js/vmprices.js">
<script type="text/javascript" src="/media/system/js/mootools-core.js">
<script type="text/javascript" src="/media/system/js/core.js">
<script type="text/javascript" src="/media/system/js/modal.js">
<script type="text/javascript" src="/media/system/js/mootools-more.js">
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js">
<script type="text/javascript" src="/modules/mod_skype_status/assets/js/jquery.cookie.js">
<script type="text/javascript">

and

<script src="/templates/bebecomfortl/jquery.js">

Please unload two instances of jquery from loading

Use firebug to examine your site code and styling .. also for checking js conflicts ...
http://forum.virtuemart.net/index.php?topic=102850.0

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

Regards
Production: Joomla 2.5.8 | VM 2.0.14 | PHP 5.3.13
Testing     : Joomla 2.5.8 | VM 2.0.16 | PHP 5.3.8
Testing     : Joomla 2.5.8 |    VM 2.1   | PHP 5.3.8

- Don't Forget to mark thread as solved when it is solved!
- Please do not PM with support questions, use the forum!