VirtueMart Forum

VirtueMart 2 + 3 + 4 => Plugins: Payment, Shipment and others => Topic started by: rosensta on October 26, 2013, 08:27:50 AM

Title: Very strange cart behaviour VM2.0 - different content when navigating around
Post by: rosensta on October 26, 2013, 08:27:50 AM
Hi,

I'm building a new shop based on Joomla 2.5.6 and Virtuemart 2.0.24

I's beginning to look good - however I notice a strange behaviour of the cart - when adding something it sometimes show, other times not. And when navigating around the site it shows/dissapears.

And when checking out - many the items are there, maybe they are not - I don't seem to be able to find a pattern?

Also...deleting something from the cart works - but the deleted items shows up again, when re-entering the cart, so they actually do not get deleted...??

I just can't figure out why??

Please take a look at www.readyweb.dk/design/cdvet-old/jupgrade

Any ideas to what can be the issue with this? I pray for help !!

Best regards
Jens Rosenstand
Title: Re: Very strange cart behaviour VM2.0 - different content when navigating around
Post by: AH on October 26, 2013, 12:59:34 PM
Make sure that you do not have cacheing turned on
Title: Re: Very strange cart behaviour VM2.0 - different content when navigating around
Post by: jenkinhill on October 26, 2013, 13:01:05 PM
Your site is not correctly loading the VirtueMart JavaScript file. You should see something like these:

  <script src="/vm2024a/components/com_virtuemart/assets/js/jquery.min.js" type="text/javascript"></script>
  <script src="/vm2024a/components/com_virtuemart/assets/js/jquery.noConflict.js" type="text/javascript"></script>
  <script src="/vm2024a/components/com_virtuemart/assets/js/vmsite.js" type="text/javascript"></script>
  <script src="/vm2024a/components/com_virtuemart/assets/js/facebox.js" type="text/javascript"></script>
  <script src="/vm2024a/components/com_virtuemart/assets/js/vmprices.js" type="text/javascript"></script>
  <script src="/vm2024a/components/com_virtuemart/assets/js/chosen.jquery.min.js" type="text/javascript"></script>

I guess you have turned them off in config.

Your reporetd issue sounds like what happens when Joomla caching is turned on.
Title: Re: Very strange cart behaviour VM2.0 - different content when navigating around
Post by: rosensta on October 27, 2013, 10:48:19 AM
Hi.

Caching is actually turned off...so that seems not to be the issue?

Any ideas to what could cause this issue?

Best regards
Jens Rosenstand