Author Topic: Add to cart issues - what's the actual solution?  (Read 98481 times)

capricornio

  • Jr. Member
  • **
  • Posts: 56
Re: Add to cart issues - what's the actual solution?
« Reply #30 on: February 19, 2012, 09:44:42 am »
hmm tried it over and over with both IE and Chrome, but still don't get the product on my cart.

website is www.mylittleloft.nl, created a temporary user account test, password test@342

Any help is appreciated.

Using VM 2.01k on top of Joomla 2.5.1.

jenkinhill

  • UK Web Developer & Consultant
  • Global Moderator
  • Super Hero
  • *
  • Posts: 27594
  • Always on vacation
    • Jenkin Hill Internet
Re: Add to cart issues - what's the actual solution?
« Reply #31 on: February 19, 2012, 13:01:27 pm »
@capricornio you are not loading jQuery on your site. You need that for the cart to work.
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.6.10.10211 on Joomla 3.9.13 PHP 7.0.33

capricornio

  • Jr. Member
  • **
  • Posts: 56
Re: Add to cart issues - what's the actual solution?
« Reply #32 on: February 20, 2012, 09:47:46 am »
Thnx Kelvyn,

But if I activate VM JQuery at Configuration - Templates, nothing happens when I click on the Add to Cart button.
When I uncheck this box, the cart opens at least, but the article isn't added.

What should I do now to get it working properly ?

webworks

  • Beginner
  • *
  • Posts: 1
Re: Add to cart issues - what's the actual solution?
« Reply #33 on: February 20, 2012, 17:46:08 pm »
Tried a couple of the simple solutions and still having the same problems :( Using Joomla 1.7 and Virtuemart 2.0.0

Websites is www.webworkscms.co.uk/3i

Any help would be appreciated

PRO

  • Global Moderator
  • Super Hero
  • *
  • Posts: 10377
  • VirtueMart Version: 3+
Re: Add to cart issues - what's the actual solution?
« Reply #34 on: February 20, 2012, 18:50:59 pm »
Tried a couple of the simple solutions and still having the same problems :( Using Joomla 1.7 and Virtuemart 2.0.0

Websites is www.webworkscms.co.uk/3i

Any help would be appreciated

This is NOT a virtuemart problem 1st of all


There will NOT be a single answer that applies to everyone.
THIS IS A JAVA CONFLICT 99% OF THE TIME
Vmart jquery does NOT conflict with standard joomla mootools.

also, make sure "system cache" plugin is disabled

JQUERY HAS to be loaded for add to cart to work
Virtuemart product scripts have to be loaded.

Templates Have javascript
Modules have Javascript

If a template uses Jquery, let it use jquery, and turn off vmart jquery.
UNLESS the template jquery version is LESS THAN
jQuery JavaScript Library v1.6.1
in that case use vmart jquery and turn of your template jquery.

NOW: If you are using standard joomla template and get the conflict. Are you using modules? Menus? That use javascript?
Disable all modules, and see if the cart works. Then enable them one by one


ALSO; do not edit the add to cart form classes etc. unless you know what you are doing

ALSO Re; css and java script compressors like jch optimize, and all those.
I have not seen a single example of these working with 2.0 yet without messing up cart functions. I have tried on mine, with many configurations etc. Still conflicts with cart functions.

 AND see here
http://forum.virtuemart.net/index.php?topic=95879.msg315642#msg315642

the product scripts have to be loaded, they are what adds the product to the cart.


J3.9+ VM 3.4.2
Slowest Page Speed Score (88) (Category)
Fastest Page Speed Score (94-96) (productdetails)

TBoele

  • Beginner
  • *
  • Posts: 33
Re: Add to cart issues - what's the actual solution?
« Reply #35 on: February 20, 2012, 19:50:49 pm »
And what about the "add to cart" problem with the version 2.0.1N ? Also a js conflict in the Template and no VirtueMart problem ?

PRO

  • Global Moderator
  • Super Hero
  • *
  • Posts: 10377
  • VirtueMart Version: 3+
Re: Add to cart issues - what's the actual solution?
« Reply #36 on: February 20, 2012, 19:59:05 pm »
And what about the "add to cart" problem with the version 2.0.1N ? Also a js conflict in the Template and no VirtueMart problem ?

add to cart works for me. I have never once had an add to cart problem. on any of the releases.



J3.9+ VM 3.4.2
Slowest Page Speed Score (88) (Category)
Fastest Page Speed Score (94-96) (productdetails)

TBoele

  • Beginner
  • *
  • Posts: 33
Re: Add to cart issues - what's the actual solution?
« Reply #37 on: February 20, 2012, 20:22:10 pm »
Ok that could be.
With my template the add to cart also works with all versions, only with the latest version 2.0.1.N not. And i don't see any conflicts with firebug.

PRO

  • Global Moderator
  • Super Hero
  • *
  • Posts: 10377
  • VirtueMart Version: 3+
Re: Add to cart issues - what's the actual solution?
« Reply #38 on: February 20, 2012, 21:01:48 pm »
how can anyone help without a url
J3.9+ VM 3.4.2
Slowest Page Speed Score (88) (Category)
Fastest Page Speed Score (94-96) (productdetails)

archos

  • Beginner
  • *
  • Posts: 33
Re: Add to cart issues - what's the actual solution?
« Reply #39 on: February 20, 2012, 21:14:06 pm »
Quote
how can anyone help without a url

Yes we can  :D

Try to add the following plugin

JQuery Easy or JQuery ++integrator

They are able to load the last Jquery and able to kill redondant Jquery.
They add the Jquery noconflict procedure (you can enable/disable it with JQuery ++integrator)

In my case with the gantry framework the conflict is linked to the cart module position !. It plays clearly a role on the js scripts order,
problem could be from the gantry framework.

nflmerch

  • Jr. Member
  • **
  • Posts: 114
Re: Add to cart issues - what's the actual solution?
« Reply #40 on: February 21, 2012, 00:27:32 am »
You guys are going to give the developers ulcers.   :P 
Always test new versions of virtuemart with a default joomla template.

lipes

  • Full Member
  • ***
  • Posts: 720
Re: Add to cart issues - what's the actual solution?
« Reply #41 on: February 21, 2012, 03:34:45 am »
I found this topic... so maybe its better to write here...

I got the problem with the last update 2.0.1 N .. and I didnt do anything before....
In last version my website was working 100% fine ... adding the products to the cart...
But now the botton "add.." doesnt work like before the popup and the VM cart Module doesnt work together in the displaying live / real time like he did until i install the new 2.0.1 N ..

If the problem was in my clean and new teamplate (0 errors css / html in firebug ) of course i'd go back to reset the lastest steps ...
 but i cant find yet a solution here...
VM V. online: J2.5.14 | VM 2.0.20a | SQL 5.1.70 | PHP 5.3.25

prema

  • Beginner
  • *
  • Posts: 6
Re: Add to cart issues - what's the actual solution?
« Reply #42 on: February 22, 2012, 17:11:06 pm »
Hi,

i had also the same issue with the add to cart button. I was searching for more days, and then i have found this little plugin.
http://extensions.joomla.org/extensions/core-enhancements/scripts/18327
It was perfectly solving my problem, now i can sue my othet Jquery modules. And it's for free.

P.

lipes

  • Full Member
  • ***
  • Posts: 720
Re: Add to cart issues - what's the actual solution?
« Reply #43 on: February 23, 2012, 03:23:18 am »
i'll hope that version 2.0.1 O,P,Q... comes soon as possible... i wouldnt like to install 3rds party's extensions (like that plugs) because everything was working fine in the lastest versions before the 2.0.1 N version come to us ....
why we should do that.. to add more garbage in system? no, we dont want that! :/
VM V. online: J2.5.14 | VM 2.0.20a | SQL 5.1.70 | PHP 5.3.25

TBoele

  • Beginner
  • *
  • Posts: 33
Re: Add to cart issues - what's the actual solution?
« Reply #44 on: February 23, 2012, 07:13:36 am »
Prolipes, do use Joomla 1.7.3 ? I had the same problem with Joomla 1.7.3 and VM 2.0.1N, no errors or conflicts but the add to cart button won't work.
Now i tested it with Joomla 2.5.1 and VM 2.0.1N, no problems.