News:

Support the VirtueMart project and become a member

Main Menu

Can't add products to cart

Started by fulleffect, October 15, 2013, 11:02:56 AM

Previous topic - Next topic

fulleffect

Hello,

I have installed virtuemart 2.0.24 on joomla 2.5.14.

When i try to add a product in the shopping cart, vm redirect to the shopping cart page witch stays blank (no info about the added product, or what so ever)

the link of the new website is http://www.partykledinghuren.nl/verhuur . I changed the "add" button to "reserveren" ;-)

jenkinhill

First you are loading two jQuery libraries which can cause issues. First you correctly load the VirtueMart required jQuery

<script src="/verhuur/components/com_virtuemart/assets/js/jquery.min.js" type="text/javascript"></script>
<script src="/verhuur/components/com_virtuemart/assets/js/jquery.noConflict.js" type="text/javascript"></script>

And then you load another version (I have no idea what that one is for):

<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js" type="text/javascript"></script>
<script src="/verhuur/templates/ol_logez/scripts/noconflict.js" type="text/javascript"></script>

The IE10 thws an error with add to cart:
Line: 87
Error: Object doesn't support property or method 'fancybox'

This will stop the add to cart function. I suspect it is a conflict with jQuery 1.8.3 that is causing the problem, so there are two options. I'd start by removing that horrible gallery module from the product detail pages to see if that solves it.
Or in Configuration/Templates/Activate Css Styles & Javascripts deselect Use Fancybox so that Facebox will be used instead.

Also look at http://forum.virtuemart.net/index.php?topic=111843.0

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

dragsliv

#2
I'm sorry to resurrect an old thread but I need help with my store. I can't get the products to work correctly.
The address is: http://sklep.jns.pl/

When I try to add products to cart it sometimes works and sometimes doesn't. I read previous posts about this issue but the fixes given didn't really help. Could someone help me with this?

Edit:
VirtueMart 3.0.16
Joomla! 3.4.8

GJC Web Design

These issues are 99% template related

I see your using the excellent Horme template which is well supported-- ask on the Olympian forum for support
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation