VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: izemate on November 13, 2013, 23:45:51 PM

Title: Cart dosent update when item is deleted
Post by: izemate on November 13, 2013, 23:45:51 PM
Hi'

I am building a webshop with joomla 2.5 and virtuemart 2.0.24.

All seems to work fine, all though i have some problems with the cart.

When i have added a item to the cart and goes to the cart and either wants to delete or update amount, it dosent seems to update the cart ?

it only seems to update when i go away from the cart, for exampel view another product groupe.. Then the message comes on top of the page that item have been deleted?

Any ideas what could be the issue?

Thanks in advance
Title: Re: Cart dosent update when item is deleted
Post by: jenkinhill on November 14, 2013, 09:10:14 AM
Most likely you have a JavaScript conflict.  http://forum.virtuemart.net/index.php?topic=119638.0
Title: Re: Cart dosent update when item is deleted
Post by: izemate on November 15, 2013, 13:57:31 PM
Hi Thanks for fast reply

I have tried using the jquery easy, but i cant get it to work?

I use these settings:
(http://design2.dk/images/3.jpg)

I dont excalty know what version to choose ? ant wich local .js files to select?

I have diasbled the "use virtuemart jqueary" under the configuration for virtuemart.

But the symptoms are excalty the same, the update / delete function dosent work properly.

QuoteI get the following log from jquery easy:
jQuery Easy Modifications Report
re-ordered header libraries
removed the MooTools library /media/system/js/mootools-core.js
removed the MooTools library /media/system/js/mootools-more.js
removed 1 jQuery library(ies)
added the jQuery library http://ajax.googleapis.com/ajax/libs/jquery/1.8/jquery.min.js
added the script /plugins/system/jqueryeasy/jquerynoconflict.js
added the jQuery UI library http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/jquery-ui.min.js
added the jQuery UI CSS file http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/base/jquery-ui.css
removed 1 empty script tag(s)
Execution time (in seconds): 0.079626798629761


Any ideas?

the shop is found her: http://d28528207.u160.surftown.dk/da/

Thansk in advance
Title: Re: Cart dosent update when item is deleted
Post by: jenkinhill on November 15, 2013, 15:10:22 PM
Not a jQuery problem. The error is template related as seen in IE10 debugger:

SCRIPT438: Object doesn't support property or method 'on'
warp.js, line 21 character 115

And Firebug gives this error in the same warp.js file:

TypeError: e(...).on is not a function

...wn:function(){e(this).off("resize",a.handler)},handler:function(b,d){var e=this,...

So looks like you need to ask the template supplier.


Title: Re: Cart dosent update when item is deleted
Post by: izemate on November 16, 2013, 14:59:19 PM
Thanks for reply jenkinhill.

I have talked with theme creator (YooTheme)

They say it is a problem with the JQuery?

Could you help on how to setup Jquery Easy, (see image)
Just to be sure its correct configuret.

What versions of JQuery can virtuemart run on ?

Best regards.
Title: Re: Cart dosent update when item is deleted
Post by: izemate on November 19, 2013, 14:48:00 PM
any surgestion?
Title: Re: Cart dosent update when item is deleted
Post by: jenkinhill on November 19, 2013, 14:54:06 PM
I have tested VM2.0.24b with jQuery 1.7.1 but I think that is as high as you can go without problems.

When I looked at your site you were only loading one jQ version, so what I saw was not a jQ issue.