Author Topic: cart not updating  (Read 3267 times)

wtkagb

  • Beginner
  • *
  • Posts: 11
cart not updating
« on: January 30, 2013, 23:01:21 pm »
cart will not update unless you refresh the page or move to another page.

How do i get it to update as soon as an item is added?

jenkinhill

  • UK Web Developer & Consultant
  • Global Moderator
  • Super Hero
  • *
  • Posts: 27465
  • Always on vacation
    • Jenkin Hill Internet
Re: cart not updating
« Reply #1 on: January 30, 2013, 23:08:32 pm »
Kelvyn

Jenkin Hill Internet,
Lowestoft, Suffolk, UK

Unsolicited PMs/emails will be ignored.

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

Currently using VM 3.4.3.10057 on Joomla 3.9.10 PHP 7.0.33
Testing VM 3.5.0.10097 on Joomla 3.9.10

wtkagb

  • Beginner
  • *
  • Posts: 11
Re: cart not updating
« Reply #2 on: January 30, 2013, 23:14:34 pm »
using 2.0.18a on Joomla! 2.5.8

jenkinhill

  • UK Web Developer & Consultant
  • Global Moderator
  • Super Hero
  • *
  • Posts: 27465
  • Always on vacation
    • Jenkin Hill Internet
Re: cart not updating
« Reply #3 on: January 31, 2013, 09:59:53 am »
And the url?
Kelvyn

Jenkin Hill Internet,
Lowestoft, Suffolk, UK

Unsolicited PMs/emails will be ignored.

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

Currently using VM 3.4.3.10057 on Joomla 3.9.10 PHP 7.0.33
Testing VM 3.5.0.10097 on Joomla 3.9.10

wtkagb

  • Beginner
  • *
  • Posts: 11
Re: cart not updating
« Reply #4 on: January 31, 2013, 15:05:26 pm »
its only hosted locally until it is all set up

jenkinhill

  • UK Web Developer & Consultant
  • Global Moderator
  • Super Hero
  • *
  • Posts: 27465
  • Always on vacation
    • Jenkin Hill Internet
Re: cart not updating
« Reply #5 on: January 31, 2013, 15:13:57 pm »
OK so we have to guess. It is most probably a JavaScript conflict.

See http://www.ehow.com/how_6002923_diagnose-problems-javascript.html  and   https://getfirebug.com/errors
Kelvyn

Jenkin Hill Internet,
Lowestoft, Suffolk, UK

Unsolicited PMs/emails will be ignored.

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

Currently using VM 3.4.3.10057 on Joomla 3.9.10 PHP 7.0.33
Testing VM 3.5.0.10097 on Joomla 3.9.10

wtkagb

  • Beginner
  • *
  • Posts: 11
Re: cart not updating
« Reply #6 on: January 31, 2013, 17:02:13 pm »
It says it cannot read 'settings' in line 66 of \components\com_virtuemart\assets\js

65 var txt = form.find(".pname").val()+' '+vmCartText;
66 $.facebox.settings.closeImage = closeImage;

Unfortunately this is an area that I am not very familial with

wtkagb

  • Beginner
  • *
  • Posts: 11
Re: cart not updating
« Reply #7 on: February 01, 2013, 17:00:07 pm »

jenkinhill

  • UK Web Developer & Consultant
  • Global Moderator
  • Super Hero
  • *
  • Posts: 27465
  • Always on vacation
    • Jenkin Hill Internet
Re: cart not updating
« Reply #8 on: February 01, 2013, 23:28:18 pm »
There is a Javascript conflict with your template. You are loading the VirtueMart jQuery OK but then you have this:

<script type="text/javascript" src="/Joomla15/templates/sportissimo/js/jquery.js"></script>         
 <script type="text/javascript" src="/Joomla15/templates/sportissimo/js/superfish.js"></script>       

That is another jQuery library and also for superfish there have been a couple of reports of this confflicting with VM.

Suggest you try the removing the jQuery load from your template and see if that works.
Kelvyn

Jenkin Hill Internet,
Lowestoft, Suffolk, UK

Unsolicited PMs/emails will be ignored.

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

Currently using VM 3.4.3.10057 on Joomla 3.9.10 PHP 7.0.33
Testing VM 3.5.0.10097 on Joomla 3.9.10

wtkagb

  • Beginner
  • *
  • Posts: 11
Re: cart not updating
« Reply #9 on: February 01, 2013, 23:46:25 pm »
many thanks for the info, but unfortunately I do not understand this as I do not have much experience of JS, where/how do i remove  jQuery load from template

jenkinhill

  • UK Web Developer & Consultant
  • Global Moderator
  • Super Hero
  • *
  • Posts: 27465
  • Always on vacation
    • Jenkin Hill Internet
Re: cart not updating
« Reply #10 on: February 02, 2013, 13:18:38 pm »
Locate the code loading the script and remove it or comment it out. In simple templates the code will be in the template's index.php  - or ask the template supplier.

Instead of editing you could possibly use jQuery Easy to control script loading.
Kelvyn

Jenkin Hill Internet,
Lowestoft, Suffolk, UK

Unsolicited PMs/emails will be ignored.

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

Currently using VM 3.4.3.10057 on Joomla 3.9.10 PHP 7.0.33
Testing VM 3.5.0.10097 on Joomla 3.9.10