VirtueMart Forum

VirtueMart 2 + 3 + 4 => Administration & Configuration => Topic started by: anton759 on September 03, 2013, 06:03:28 AM

Title: add a product using add to cart then site is locked and can't do anything
Post by: anton759 on September 03, 2013, 06:03:28 AM
I'm using Joomla 2.5 and Virtuemart 2.0.20b

When I add a product using add to cart, the site is stuck(or locked) and i can't do anything.
I don't know why is that.
Here is the link of my site.

http://codezero.org/test2/

Here is the link for a product.
http://codezero.org/test2/products-categories/marine-audio/new-marine-yacht-boat-mp3-usb-aux-radio-4-x-6-5-speakers-stereo-cover-remote-detail.html

You can see that when you click on add to cart the whole page get stuck(or locked) and can't do anything.
Please help me. This is an urgent one. I respect you if anyone helps me.
I can't figure out what's wrong. Please hel me.
Title: Re: add a product using add to cart then site is locked and can't do anything
Post by: Maxim Pishnyak on September 03, 2013, 09:47:57 AM
You use jquery from Google in your VM config. Turn this option off and check your issue again.
Title: Re: add a product using add to cart then site is locked and can't do anything
Post by: anton759 on September 03, 2013, 11:45:49 AM
I did that. But nothing happened. Issue is still there.
Title: Re: add a product using add to cart then site is locked and can't do anything
Post by: anton759 on September 03, 2013, 11:53:40 AM
When I disable the option "Using the VirtueMart jQuery" . The page wasn't stuck or locked, but the product wasn't added to the cart. I can't figure out what is wrong with the virtuemart. But i felt there may be a conflict in jquery or javascript. But I can't figure out where is the problem and how to fix it. And also I might be wrong and there can be a different reason for the issue. Help me guys if you can. I appreciate your help.

Although the solution didn't fix the issue i thank you Maxim Pishnyak for use you time to help me.
Title: Re: add a product using add to cart then site is locked and can't do anything
Post by: Maxim Pishnyak on September 04, 2013, 22:18:57 PM
Strange. I didn't see jquery.js from your widgetkit previously. The only option for you is to use Jquery Easy or such. Jquery for Widgekit must be loaded before js files (jquery, noconflict etc) FROM VM. So use Jquery Easy to have only ONE jquery.js (with noconflict option turned on) on each page.
Title: Re: add a product using add to cart then site is locked and can't do anything
Post by: anton759 on September 07, 2013, 14:11:25 PM
Thank you very much for finding a solution for me. But I can't figure out what to do. I didn't get how to do that from your description so clearly. If you can explain a little what I have to do, then it will be a great help for me. I have installed Jquery easy plugin. What are the things that i have to configure ? what are the virtuemart component => Configuration => template  settigns that i have to configure ?

I'm so greatfull for your help Maxim Pishnyak. thank you. I hope you will help me to figure out this.
Title: Re: add a product using add to cart then site is locked and can't do anything
Post by: Maxim Pishnyak on September 07, 2013, 14:58:34 PM
Quote from: Maxim Pishnyak on September 04, 2013, 22:18:57 PM
So use Jquery Easy to have only ONE jquery.js (with noconflict option turned on) on each page.
Did you found jquery section in the Jquery Easy settings?
Title: Re: add a product using add to cart then site is locked and can't do anything
Post by: anton759 on September 07, 2013, 16:19:49 PM
Are these settings that you mentioned ?

[attachment cleanup by admin]
Title: Re: add a product using add to cart then site is locked and can't do anything
Post by: Maxim Pishnyak on September 08, 2013, 09:32:13 AM
Ofc you need to enable Jquery on your screen. This is all that is jquery related over there?
Title: Re: add a product using add to cart then site is locked and can't do anything
Post by: anton759 on September 08, 2013, 12:10:53 PM
No this is a piece of screenshot. I enable this and also enable the plugin before. But nothing changed.
Title: Re: add a product using add to cart then site is locked and can't do anything
Post by: jenkinhill on September 08, 2013, 12:39:13 PM
You have a script which starts running and never completes. Becuase it never completes I cannot identify it.
Try in turn disabling the non-VM scripts, eg Menumatic, widgetkit, accordionmenu, warp etc.
Title: Re: add a product using add to cart then site is locked and can't do anything
Post by: Maxim Pishnyak on September 12, 2013, 17:22:08 PM
Any success, Anton759?
Title: Re: add a product using add to cart then site is locked and can't do anything
Post by: anton759 on September 15, 2013, 15:25:45 PM
so sorry about the late reply.
I think the issues is occurred with the template.
I changed the template in to a default template for check it. And then when we add something to the cart by clicking the button no more issues. The virtuemart pop up window is also showing and the shoping cart is also updated without freezing the page. Is this because of warp framework ? Or just with the template's javascript files ? My client is very happy with the template. Do I have to change the template ?


I appreciate both of your help. I had some exams in last days. Sorry about the late reply guys.
Title: Re: add a product using add to cart then site is locked and can't do anything
Post by: Maxim Pishnyak on September 15, 2013, 20:23:43 PM
Everything works fine then? Good. Well... what about your exams then? How did you do them?
Title: Re: add a product using add to cart then site is locked and can't do anything
Post by: anton759 on September 23, 2013, 08:39:33 AM
Finally I figure out how this issue occures. It's a case with the shopping cart details module positioned on top.
At first I removed the current template and add another one(Gantry Template Framework's default template)

But that doesn't fix the issue. Then I remove all the modules on the top and then add them again one by one while checking the issue. It works fine and show the pop up window also until I add that Shopping Cart details module.

When I add it the issue is also there.

So I think it is a matter with the Shopping Cart details module.

But I don't know how to figure this out. Do I have to remove that module completely.. ?
Or else do I have to position it on a different place.. ?

I appreciate you help guys.. Thank you all of you. And I hope you'll help me with the rest of this issue by answering my questions above. Thank you guys.

@Maxim Pishnyak
The exams are finished and I hope results will be good.  :D  Sorry for the late reply on my issue guys.

Thank you.



Title: Re: add a product using add to cart then site is locked and can't do anything
Post by: Maxim Pishnyak on September 29, 2013, 21:21:14 PM
So cart from s5 was your issue?

P.S. Good luck with exams results!