News:

Support the VirtueMart project and become a member

Main Menu

VM3 Shopping Cart Module

Started by mhshakouri, January 14, 2015, 17:24:37 PM

Previous topic - Next topic

mhshakouri

I've recently done so many projects using Virtuemart.
In one of my projects I'm facing a problem. When you click on "add to cart" a pop up shows, and if you just close the pop up dialog (modal) without refreshing the page you can see the Cart (virtuemart default shipped module) with the new content and the product added to the list inside it.
The strange behaviour is I can see this happen on one of my projects and on the other one this does not happen.
All the settings are the same, modules codes are the same, and also no jquery or other java script conflicts are reported in the diagnostic tools (chrome).
I'll be happy if you guys could take a look,
Working : http://www.dentalcadcam.ir

not working : http://www.site123.ir/mnw

ofc the 2nd one is a few weeks away from my work done locally I'll upload the latest version if needed


+++++
Update on links,
Since sites are in persian language and you might have problems,
the first site, dentalcadcam.ir, have sample product in the first page as you can see, (2 rows on the center bottom) and there are two blue buttons that do the add to cart action, and the cart module is in the left sidebar.

for the Site123.ir/mnw
link to a sample product is :
http://www.site123.ir/mnw/وسایل-شخصی/کیف-پول-و-جا-کارتی-ویژه-21-27-moone

add to cart button is the green button on the left,
and the cart module is published inside the mega dropdown menu Item on the top bar, and the ICon is clear.

Thanks

jenkinhill

Sure looks like a JavaScript issue as that template uses a load of different scripts, but I also see no js errors using Firebug. Must be template related so maybe a case of disabling different script elements to try to locate the problem.
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

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

mhshakouri

Quote from: jenkinhill on January 15, 2015, 11:51:42 AM
Sure looks like a JavaScript issue as that template uses a load of different scripts, but I also see no js errors using Firebug. Must be template related so maybe a case of disabling different script elements to try to locate the problem.

That's what I thought at first, well it's a custom template, I made it out of T3_BS_Blank, I've also created templates inside VM3 it self, for categories, products, homepage etc, as you said, loads, and Tons of jQuery and JScript is included. I'll try to find the bug, and report it here, meanwhile, if anyone could give me a hand by giving me a simple ajax cart (jQuery based) I'll be so happy, I cannot buy extensions because of expenses, and sanctions, I'm from Iran and you know. :)
Thanks for your attention