Author Topic: [solved] SHOPPING CART NOW WONT ALLOW SHOPPERS TO ADD TO CART  (Read 3372 times)

Elusyion

  • Beginner
  • *
  • Posts: 1
Im feeling so let down by this new VM2.
I have three websites all of which were functional until we upgraded... apparently it had to be done or "technical dooms day would happen"
Now I cant have different price categories for different shopper groups wholesale, retail etc.
Now on top of that there seems to be a new issue with the cart daily.
We did a upgrade on Thursday night   2.0.8c and now shoppers cant add products to the cart.?????????????????

Help
Im almost at my wits end and are going to seek a different cart if things aren't resolved


Milbo

  • Virtuemart Projectleader
  • Administrator
  • Super Hero
  • *
  • Posts: 9905
  • VM3.2 Cached and Optimized
    • VM3 Extensions
  • VirtueMart Version: VirtueMart 3 on joomla 3
Re: SHOPPING CART NOW WONT ALLOW SHOPPERS TO ADD TO CART
« Reply #1 on: July 14, 2012, 12:38:46 pm »
Now I cant have different price categories for different shopper groups wholesale, retail etc.
Why you cant have that? how you did it before? and why it is not working now? Did you see this? http://forum.virtuemart.net/index.php?topic=105088.0
You can update to d, but then load also the attached file here http://forum.virtuemart.net/index.php?topic=105220.msg350406#msg350406

Now on top of that there seems to be a new issue with the cart daily.
We did a upgrade on Thursday night   2.0.8c and now shoppers cant add products to the cart.?????????????????

I have no clue about this and your description is like a news headline "there was an accident on Trafalgar square".
I should fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

webceo

  • Beginner
  • *
  • Posts: 5
Re: SHOPPING CART NOW WONT ALLOW SHOPPERS TO ADD TO CART
« Reply #2 on: July 14, 2012, 13:29:14 pm »
I'm having a similar issues regarding adding products to the shopping cart. I'm not sure what the problem is. When you click add to cart, it redirects to the shopping cart, but no product is added. You can test it here :
http://www.mufflex-performance.com/v2/index.php/store/more-catalogs/f-body-catalog/1982-to-1992-3-5-catback-detail

I'm having another issue when editing products that have children. If a child product's name has the inch symbol (") in it, editing the parent will truncate the child product's name at the inch symbol position. I temporarily fixed this by adding the following code to the file administrator/components/com_virtuemart/views/product/tmpl/product_edit_information.php at the line 362

Code: [Select]
$child->product_name = preg_replace("/\"/",""",$child->product_name);

jjk

  • Global Moderator
  • Sr. Member
  • *
  • Posts: 3505
  • using Matomo instead of Google Analytics
Re: SHOPPING CART NOW WONT ALLOW SHOPPERS TO ADD TO CART
« Reply #3 on: July 14, 2012, 16:09:14 pm »
I'm having a similar issues regarding adding products to the shopping cart. I'm not sure what the problem is.
You have several javascript errors/conflicts on your pages, in example this one:

Error: jQuery is not defined
Source File: ...mufflex-performance.com/v2/components/com_virtuemart/assets/js/vmsite.js
Line: 110
Does it work with a standard template and or without other extensions? First you can try to disable "Using the VirtueMart jQuery" in VM2 configuration.
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations

webceo

  • Beginner
  • *
  • Posts: 5
Re: SHOPPING CART NOW WONT ALLOW SHOPPERS TO ADD TO CART
« Reply #4 on: July 14, 2012, 16:51:14 pm »
jjk,

"Using the VirtueMart jQuery" is already disabled, and I'm having the same issue with a standard Joomla template.

I forgot to mention that the problem started when I upgraded from 2.0.6 to 2.0.8c. Before that, the cart was working properly. I'm using Joomla 2.5.6 if that matters.

Thank you

webceo

  • Beginner
  • *
  • Posts: 5
Re: SHOPPING CART NOW WONT ALLOW SHOPPERS TO ADD TO CART
« Reply #5 on: July 14, 2012, 17:38:13 pm »
I fixed my cart issues. It turned out I only needed to include the jQuery in my template's header before including VM2 javascript.. HTML 101 !!

Thanks jjk for your help :)

jjk

  • Global Moderator
  • Sr. Member
  • *
  • Posts: 3505
  • using Matomo instead of Google Analytics
Re: SHOPPING CART NOW WONT ALLOW SHOPPERS TO ADD TO CART
« Reply #6 on: July 14, 2012, 17:41:11 pm »
Ok, you were a little bit quicker  ;) - I had just typed this:
The problem seems to be that your site for some reason currently loads vmsite.js, vmprices.js and facebox.js before jQuery is loaded. This won't work, because all three are based on jQuery. Normally VM2 loads jquery.min.js and jquery.noConflict.js. ahead of the three files mentioned above. So I guess, that one of your other extensions loads jQuery 1.6.4 ahead of calling VM2.
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations

webceo

  • Beginner
  • *
  • Posts: 5
Re: SHOPPING CART NOW WONT ALLOW SHOPPERS TO ADD TO CART
« Reply #7 on: July 14, 2012, 18:30:04 pm »
Thank you jjk for your help. I simply included jQuery in the template and removed it from all other extensions since it's used by many !

Milbo

  • Virtuemart Projectleader
  • Administrator
  • Super Hero
  • *
  • Posts: 9905
  • VM3.2 Cached and Optimized
    • VM3 Extensions
  • VirtueMart Version: VirtueMart 3 on joomla 3
Re: SHOPPING CART NOW WONT ALLOW SHOPPERS TO ADD TO CART
« Reply #8 on: July 15, 2012, 11:22:38 am »
Yeh, the reason we added the option, that you can disable that vm is loading the jquery library, so that you can do it with your template.
I should fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

leobrian

  • Beginner
  • *
  • Posts: 4
Re: [solved] SHOPPING CART NOW WONT ALLOW SHOPPERS TO ADD TO CART
« Reply #9 on: September 19, 2012, 16:34:10 pm »
I see that the fix for this problem is to include VM js after loading jQuery.  is there any documentation on this.  Where do I do the includes?  It look like I have the same problem but I cant figure out where to make the changes.
My url is:   http://alexavior.com/index.php/production-services/recording-services

Thanks

jjk

  • Global Moderator
  • Sr. Member
  • *
  • Posts: 3505
  • using Matomo instead of Google Analytics
Re: [solved] SHOPPING CART NOW WONT ALLOW SHOPPERS TO ADD TO CART
« Reply #10 on: September 19, 2012, 17:32:21 pm »
Try to switch off the Google jQuery and eventually the Virtuemart jQuery in VM2 Configuration - Templates tab. It looks like one of your extensions is loading a minified jQuery 1.3.2 version from the Google api, which produces a conflict with your VM2 facebox (lightbox).

You can use the Firefox browser plugin "Firebug" to detect problems. See here: http://forum.virtuemart.net/index.php?topic=102850.msg341610#msg341610
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations