I have a problem with the cart. When I delete a product in the cart, then the message about product deletion and the update of the cart is first shown when I browse away from the cart.
Joomla version: 2.5.14
Virtuemart version: 2.0.20b
URL?
Also see http://virtuemart.net/news/latest-news/446-important-security-release-vm-team-at-joomladay-germany for updating to a secure version.
Just been looking some more into this and it looks like that I have a generel cache problem with the cart
Quote from: jenkinhill on October 16, 2013, 10:13:11 AM
URL?
www.sitbag.dk (webshop only in danish)
Quote
Also see http://virtuemart.net/news/latest-news/446-important-security-release-vm-team-at-joomladay-germany for updating to a secure version.
I'll update right away
The cart should not be cached...........
I've updated to version 2.0.24
No the cart shouldn't be cached... and I have disabled caching in Joomla
I've been looking at this topic https://forum.virtuemart.net/index.php?topic=95979.0 but still haven't been able to fix it.
I'm using Joomlashack's Wright template, and I've disabled loade of jQuery in the template.
VM template settings is:
Use Fancybox [No]
Using the VirtueMart CSS [Yes]
Using the VirtueMart jQuery [Yes]
Using the product Scripts [Yes]
Using the Script ajax Countries / Regions [Yes]
Use jQuery chosen for dropdowns in FE [No]
Use external google jQuery library [No]
Only have one module installed and that's the Linelab VM Cart
You shoold use Fancybox unless loading bells & whistles in the Jooml;a template which interfere with it. And use Use jQuery chosen for dropdowns in FE if your country has states.
Asking again. URL?
Fancybox is now active.
Don't have any states.
http://www.sitbag.dk/2013/da/webshop
I see this JavaScript error on your cart page:
SCRIPT438: Object doesn't support property or method 'on'
bootstrap.min.js, line 6 character 18749
SCRIPT438: Object doesn't support property or method 'on'
bootstrap.min.js, line 6 character 1068
And on the home page where there is no VM js files loading, only your minicart module:
SCRIPT5007: Object expected
bootstrap.min.js, line 6 character 14
SCRIPT5009: 'jQuery' is undefined
stickyfooter.js, line 1 character 1
So looks like the problem is with your template.
That I can fix by loading jQuery from the template instead of Virtuemart, but then I get:
Uncaught ReferenceError: jQuery is not defined vmsite.js:112
Uncaught ReferenceError: jQuery is not defined jquery.fancybox-1.3.4.pack.js:46
Uncaught ReferenceError: jQuery is not defined vmprices.js:150
No you need to load the VM JavaScript. Have a look at http://forum.virtuemart.net/index.php?topic=119638 - and the second paragraph in http://forum.virtuemart.net/index.php?topic=119621.msg407164#msg407164
OK, Thanks. With some help from jQuery easy it seems that I have solved all the JS conflicts.
But the issue with updating the cart when deleting and/or adding products is still there