Author Topic: Cannot add products to cart  (Read 18532 times)

alesbennetti

  • Beginner
  • *
  • Posts: 4
Cannot add products to cart
« on: January 02, 2012, 08:04:25 am »
Having installed version 2.0.0, Latest version 2.0.0, Latest release date 2011-12-19, and added all my products to the categories, I decide to check the frontend to see how the shop would function, but alas, try to add products to the cart and nothing is added. 

jenkinhill

  • UK Web Developer & Consultant
  • Global Moderator
  • Super Hero
  • *
  • Posts: 28117
  • Always on vacation
    • Jenkin Hill Internet
Re: Cannot add products to cart
« Reply #1 on: January 02, 2012, 12:11:06 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 VirtueMart 3.8.9.10473 on Joomla 3.9.24 PHP 7.4.14

ethosws

  • Beginner
  • *
  • Posts: 8
Re: Cannot add products to cart
« Reply #2 on: January 06, 2012, 17:18:34 pm »
I am having this same problem and when I emptied the table _virtuemart_adminmenuentries the side VM menu in the administration area disappeared. The Add to cart is still not working. Before I did this when I clicked on the add to cart the site did nothing, now when I click on it the cart shows up on the page but it still is empty.

This is on two fresh intalls one with default template no sample information and one with all default sample data and VirtueMart sample data installed
Joomla Version 1.7.3

VirtueMart 2.0

jenkinhill

  • UK Web Developer & Consultant
  • Global Moderator
  • Super Hero
  • *
  • Posts: 28117
  • Always on vacation
    • Jenkin Hill Internet
Re: Cannot add products to cart
« Reply #3 on: January 06, 2012, 23:58:54 pm »
Why empty that table? That is for VM BE administration - nothing to do with the Add to Cart function. You must look for JS conflicts in FE template, menu or modules.
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 VirtueMart 3.8.9.10473 on Joomla 3.9.24 PHP 7.4.14

ethosws

  • Beginner
  • *
  • Posts: 8
Re: Cannot add products to cart
« Reply #4 on: January 07, 2012, 00:09:37 am »
OK I have a new install Joomla 1.7.3 with everything default (no added modules or templates) I then installed VirtueMart 2.0 latest stable version. Setup as per install and added three categories and one product. When I click ADD TO CART nothing happens. I uncheck "Using the Virtuemart jQuery" and click ADD TO CART it goes to the cart with no products in the cart.

With firebug on firefox I see this.

jQuery is not defined
[Break On This Error] })(jQuery)
vmsite.js (line 92)

jQuery is not defined
[Break On This Error] })(jQuery);
facebox.js (line 320)

jQuery is not defined
[Break On This Error] })(jQuery);
vmprices.js (line 111)

jQuery is not defined
[Break On This Error] jQuery( function($) {
index.php (line 23)

Again this is a basic install with default templates - no modules except VirtuaMart.

Thanks in advance
Joomla Version 1.7.3

VirtueMart 2.0

jenkinhill

  • UK Web Developer & Consultant
  • Global Moderator
  • Super Hero
  • *
  • Posts: 28117
  • Always on vacation
    • Jenkin Hill Internet
Re: Cannot add products to cart
« Reply #5 on: January 07, 2012, 13:17:03 pm »
Did you load VM with the default sample products?

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 VirtueMart 3.8.9.10473 on Joomla 3.9.24 PHP 7.4.14

ethosws

  • Beginner
  • *
  • Posts: 8
Re: Cannot add products to cart
« Reply #6 on: January 08, 2012, 06:58:58 am »
I have tried a couple different installs with and without sample data. I will send you a URL with admin login in a private message that way you can see what is on and off.
Joomla Version 1.7.3

VirtueMart 2.0

ethosws

  • Beginner
  • *
  • Posts: 8
Re: Cannot add products to cart
« Reply #7 on: January 09, 2012, 21:52:16 pm »
any clue what could be wrong? basic install with sample data installed. - http://ethoswebservices.com/shop/index.php/store/handtools/hand-shovel-detail
Joomla Version 1.7.3

VirtueMart 2.0

PRO

  • Global Moderator
  • Super Hero
  • *
  • Posts: 10428
  • VirtueMart Version: 3+
Re: Cannot add products to cart
« Reply #8 on: January 10, 2012, 02:47:54 am »
If jquery is not defined. Its not loaded, turn on vmart jquery

ethosws

  • Beginner
  • *
  • Posts: 8
Re: Cannot add products to cart
« Reply #9 on: January 10, 2012, 03:34:40 am »
OK now don't get any error and it still does not work.

Lost?
Joomla Version 1.7.3

VirtueMart 2.0

PRO

  • Global Moderator
  • Super Hero
  • *
  • Posts: 10428
  • VirtueMart Version: 3+
Re: Cannot add products to cart
« Reply #10 on: January 10, 2012, 13:18:28 pm »
turn on virtuemart product scripts

ethosws

  • Beginner
  • *
  • Posts: 8
Re: Cannot add products to cart
« Reply #11 on: January 20, 2012, 04:59:42 am »
I believe I have everything on but I am still having problems. Anyone have any ideas?
Joomla Version 1.7.3

VirtueMart 2.0


edv

  • Beginner
  • *
  • Posts: 6
Re: Cannot add products to cart
« Reply #13 on: January 20, 2012, 17:16:35 pm »
Thats my problem too. Your server denies the access with DoubleEncoded special chars. I hav'nt an answer jet myself.
Somehow you have to alow this in your web-server-config or your firewall-config.

In Windows IIS its somewhat about "allowDoubleEscaping"

Hope this can help find the problem.

EDV
see my thread: http://forum.virtuemart.net/index.php?topic=96639.0

Edit: if you are on iis6 and have a M$ firewall try to configure the HTTP policy with "verify normalization" -> "off"

ethosws

  • Beginner
  • *
  • Posts: 8
Re: Cannot add products to cart
« Reply #14 on: January 22, 2012, 08:24:48 am »
Any ideas?
Joomla Version 1.7.3

VirtueMart 2.0