VirtueMart Forum

VirtueMart 2 + 3 + 4 => Administration & Configuration => Topic started by: jrmobile on February 10, 2015, 09:16:20 AM

Title: Add to cart is not working and no shipment and payment method selected.
Post by: jrmobile on February 10, 2015, 09:16:20 AM
Good day,

Will appreciate f someone can give me a hand on VM3 issues.

1. Add to cart button won't work

I've tried to turn off all jQuery and only VM one left.
The post container is fine.
There is an error in console
ncaught TypeError: undefined is not a function(index):809 (anonymous function)jquery-1.5.2.min.js:16 f.resolveWithjquery-1.5.2.min.js:16 d.extend.readyjquery-1.5.2.min.js:16 c.addEventListener.y

I even tried to turn all jQuery off and turn on only last Google jQuery. No effect.

2. The cart always asking
No shipment method has been configured
No payment method has been configured

I've tried to delete and recreate all methods
Reinstalled last AIO
Checked country settings
Checkin plugins publishing
Removed all terms for the shipping method.
Upgraded old VM2 fields
I've even tried to change shipping methos validation in plugin folder to TRUE
But nothing helped.

Here is the site
http://ownmusic.ru/index.php/en/

Will appreciate any help.
Thanks in advance
Заранее благоSPAMарен за любую поSPAMсказку.
Title: Re: Add to cart is not working and no shipment and payment method selected.
Post by: SteP[IT] on February 11, 2015, 10:24:23 AM
For the jquery question, it should be a conflict: try to install JQueryEasy plugin, and configure it in the appropriate way.
For the second point, have you configured at least one shipping metod and one payment metod in VM? If no one of them is present, you can't go further in cart steps.
Title: Re: Add to cart is not working and no shipment and payment method selected.
Post by: web3 on February 12, 2015, 11:05:42 AM
Hello,

I also can't add products to cart. Without login it's notice: No shipment and payment method has been configured. After login it's: Missing value for name, zip, country, phone etc. + shipment and payment has not been configured. Hovever Add/Edit billing address information is correctly completed. The last changes in VM i did(probably) 10 days ago and after that it was working.
I'm using VM 3.0.2, Joomla 3.3.6 with JQueryEasy. Have 2 published shipping and payment method.
Site link: http://skuska.hrac.sk/index.php/en/e-shop/playstation/playstation-2/playstation-2-games (http://skuska.hrac.sk/index.php/en/e-shop/playstation/playstation-2/playstation-2-games)
Title: Re: Add to cart is not working and no shipment and payment method selected.
Post by: jrmobile on February 12, 2015, 13:47:24 PM
Quote from: SteP[IT] on February 11, 2015, 10:24:23 AM
For the jquery question, it should be a conflict: try to install JQueryEasy plugin, and configure it in the appropriate way.
For the second point, have you configured at least one shipping metod and one payment metod in VM? If no one of them is present, you can't go further in cart steps.

1. Thanks for your suggestions.
I've installed and published JQueryEasy.
Turn off all the rest jQuery in all modules.
But no effect.

2. Yes i did. I even deleted and recreated new ones.
Title: Re: Add to cart is not working and no shipment and payment method selected.
Post by: GJC Web Design on February 12, 2015, 14:06:16 PM
jquery-1.5.2.min.js   ?   very old version...

Quotencaught TypeError: undefined is not a function(index):809 (anonymous function)jquery-1.5.2.min.js:16 f.resolveWithjquery-1.5.2.min.js:16 d.extend.readyjquery-1.5.2.min.js:16 c.addEventListener.y

j3 is using 1.11.1
Title: Re: Add to cart is not working and no shipment and payment method selected.
Post by: jenkinhill on February 12, 2015, 15:14:19 PM
And VirtueMart 3.0.4 uses Query v1.11.0
Title: Re: Add to cart is not working and no shipment and payment method selected.
Post by: MJK on February 12, 2015, 23:13:14 PM
Have the same problem, when i add to cart - shows empty cart. Installed the basic template. This happend after update.
I have
PHpVersion    5.4.37
Web Server    Apache
Virtuemart 3.0.4.
Joomla! Version    Joomla! 3.3.6 Stable
my site: www.super-djevojka.eu

Please help.
Title: Re: Add to cart is not working and no shipment and payment method selected.
Post by: jrmobile on February 13, 2015, 12:12:24 PM
Quote from: GJC Web Design on February 12, 2015, 14:06:16 PM
jquery-1.5.2.min.js   ?   very old version...

Quotencaught TypeError: undefined is not a function(index):809 (anonymous function)jquery-1.5.2.min.js:16 f.resolveWithjquery-1.5.2.min.js:16 d.extend.readyjquery-1.5.2.min.js:16 c.addEventListener.y

j3 is using 1.11.1

Thank you for your attention, to my issue.
I gave it a try. Turned off all other components that loads jQuery and loaded 1.11.0
  <script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js" type="text/javascript"></script>
  <script src="/components/com_virtuemart/assets/js/jquery-migrate.min.js" type="text/javascript"></script>
  <script src="//ajax.googleapis.com/ajax/libs/jqueryui/1.9.2/jquery-ui.min.js" type="text/javascript"></script>
  <script src="/components/com_virtuemart/assets/js/jquery.ui.autocomplete.html.js" type="text/javascript"></script>
  <script src="/components/com_virtuemart/assets/js/jquery.noconflict.js" type="text/javascript"></script>

But it still won't work.
Title: Re: Add to cart is not working and no shipment and payment method selected.
Post by: GJC Web Design on February 13, 2015, 12:27:45 PM
and now you have a page full of errors

why don't you use jqueryeasy?
Title: Re: Add to cart is not working and no shipment and payment method selected.
Post by: GJC Web Design on February 13, 2015, 12:33:58 PM
@MJK - u have a JS error

ReferenceError: jQuery is not defined
http://www.super-djevojka.eu/media/system/js/validate.js


your loading jquery 1.8.2

after upgrade - upgrade from what?

Title: Re: Add to cart is not working and no shipment and payment method selected.
Post by: jrmobile on February 13, 2015, 13:44:30 PM
Quote from: GJC Web Design on February 13, 2015, 12:27:45 PM
and now you have a page full of errors

why don't you use jqueryeasy?

I tried it with jqueryeasy, but it was the same effect.
For some reason jqueryeasy has the last jQuery version 1.9.1.
And all of these errors doesn't seem to be critical for VM.
Am i getting it wrong and it may be critical?
Title: Re: Add to cart is not working and no shipment and payment method selected.
Post by: GJC Web Design on February 13, 2015, 13:52:51 PM
of course it doesn't  - select it!

and all these errors are fatal to the cart -
Title: Re: Add to cart is not working and no shipment and payment method selected.
Post by: MJK on February 13, 2015, 14:28:08 PM
GJC Web Design thanks for reply, i updated it from joomla 2.5, VM from 2.0.26

How to fix it?
Regards.
Title: Re: Add to cart is not working and no shipment and payment method selected.
Post by: GJC Web Design on February 13, 2015, 15:27:55 PM
@MJK ..  and is your template and extensions all VM3 compatible?????
Title: Re: Add to cart is not working and no shipment and payment method selected.
Post by: MJK on February 13, 2015, 22:17:10 PM
I  have changed templates, but it seems that for this version (in my case) makes no difference.

I've sent you a pm.   :D
Title: Add to cart is not working and no shipment and payment method selected.
Post by: OskarMaria on March 04, 2015, 17:52:11 PM
I have the same problems with a fresh installation of joomla 3.4, virtuemart 3.0.6.2 and the epic pro template 6.0.8. No chance to put products in the shopping cart, not working buttons for plus and minus, the shopping cart is only an empty page etc.

The template did not work with the new virtuemart. When I deleted all virtuemart overrides of the template, the product pages works as expected.
Title: Re: Add to cart is not working and no shipment and payment method selected.
Post by: melsonmarketing on March 13, 2015, 17:16:15 PM
Still no solution for this?

Working on a migration:

http://web1550.webbox555.server-home.org/VM3Test/index.php?option=com_virtuemart&amp;view=productdetails&amp;virtuemart_category_id=6&amp;virtuemart_product_id=1415

J2.5.28 => J3.4.0
VM 2.6.10 => 3.0.62

I've turned Modules off/on, used Standard-Templates, installed JQueryEasy and read tons of posts :-(

It's impossible to change the number of products (except typing it) and any click on "add to cart" leads to the EMPTY cart directly (modal is enabled).

Great to know, that the new catalogue's on the way and the new shop must be online by March 18th...  :-\

Any new hints in this matter?

Title: Re: Add to cart is not working and no shipment and payment method selected.
Post by: jenkinhill on March 13, 2015, 18:32:52 PM
VM3 uses an almost identical version to Joomla3 so there should be no requirement for jQueryEasy. VM3 uses jQ1.11.0 and J3 uses jQ1.11.2  - but you are loading an older version, jQ1.8.3 so you should look at that.

For the add to cart I see this error:
ReferenceError: jQuery is not defined
...tom:n}};document.formvalidator=null,jQuery(function(){document.formvalidator=new...

Maybe because of the old version?

Certainly looks to be template related as there is a whole shedload of files loading.
Title: Re: Add to cart is not working and no shipment and payment method selected.
Post by: melsonmarketing on March 13, 2015, 18:57:18 PM
Tanks jenkinhill,
But it also appears in coretemplates, loading latest JQuery, all Ajax Module + Menus  disabled  :-[
Title: Re: Add to cart is not working and no shipment and payment method selected.
Post by: melsonmarketing on March 16, 2015, 12:57:30 PM
It's solved. All is working perfect now.

A Plugin "PLG_SYS_MOOTABLE" caused the probs.

After uninstalling it,  "add to cart", modals and quantity update works as expected.

Title: Re: Add to cart is not working and no shipment and payment method selected.
Post by: jenkinhill on March 16, 2015, 15:17:16 PM
Thanks, I'll try to remember the possibility of issues with that plugin.
Title: Re: Add to cart is not working and no shipment and payment method selected.
Post by: bdimov on May 07, 2015, 14:51:47 PM
Hi,

I have the same problem with adding article to basket(only loads empty basket) and there is no shipment and payment method available.
How can I check which JQuerry I use?
How can I realise where can be the problem?
Title: Re: Add to cart is not working and no shipment and payment method selected.
Post by: jenkinhill on May 07, 2015, 16:06:30 PM
Look at the code for the head element to quickly see which scripts are loaded. CTRL+U
Click on a jQuery link in the code to view the file, the version is in the first line. eg /*! jQuery v1.11.2 | (c) 2005, 2014 jQuery Foundation, Inc. | jquery.org/license */

See http://forum.virtuemart.net/index.php?topic=119638.0

Title: Re: Add to cart is not working and no shipment and payment method selected.
Post by: bdimov on May 11, 2015, 14:43:59 PM
I got it.
I used Cinch menu(Pixel Point Creative module) and this module use JQuery 1.8 I think...
When I disable it, everything with products in cart are fine.

Thank you for support!
Title: Re: Add to cart is not working and no shipment and payment method selected.
Post by: borro on September 17, 2015, 14:45:55 PM
Hello, message-board users

From time to time clients complains that at this site (http://www.antilopagold.su/statuetki/statuetki-sobak) based at J3.4+VM3.0.9 they cann't add something to the shopping cart. Can somebody tell what can be the reason of it?
Caching is working also I switched it off at general settings of a Joomla. Can it be the reason? From time to time I clear cache and old cache by hand  :)
Can you tell me is there any jquery problem? It seems that there is no problem but may be I'm wrong
May it be that clients have an old version of browsers?
Title: Re: Add to cart is not working and no shipment and payment method selected.
Post by: elleclouds on December 27, 2015, 18:12:25 PM
Quote from: borro on September 17, 2015, 14:45:55 PM
Hello, message-board users

From time to time clients complains that at this site (http://www.antilopagold.su/statuetki/statuetki-sobak) based at J3.4.1+VM3.0.9 they cann't add something to the shopping cart. Can somebody tell what can be the reason of it?
Caching is working also I switched it off at general settings of a Joomla. Can it be the reason? From time to time I clear cache and aold cache by hand  :)
Can you tell me is there any jquery problem? It seems that there is no problem but may be I'm wrong
May it be that clients have an old version of browsers?

Upgraded to 3.0.12 now customers can't add anything to cart...any advice?
Title: Re: Add to cart is not working and no shipment and payment method selected.
Post by: GJC Web Design on December 27, 2015, 21:28:11 PM
same as on your other post->  http://forum.virtuemart.net/index.php?topic=132591.msg458911#msg458911