VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: matteobarale on August 17, 2011, 17:01:09 PM

Title: shopping cart
Post by: matteobarale on August 17, 2011, 17:01:09 PM
I do a fresh install of joomla 1.7 virtuemart last version and all in one.
I have a "little" problem.
When i add a product to my shopping cart it doesn't add
Any idea.

Thanks 
Title: Re: shopping cart
Post by: Milbo on August 19, 2011, 12:36:43 PM
deactivate SEO/SEF in joomla and wait for the next version with the fix
Title: Re: shopping cart
Post by: cas on October 04, 2011, 08:51:15 AM
Hi Milbo,

I have this same problem.  I press the "Add to Cart" button and it goes to the Cart page, but nothing got added into the cart.  I tried your tip to deactivate SEO/SEF, but nothing helps.  Any ideas?

Thanks,
Chuck
Title: Re: shopping cart
Post by: MobiVM on October 04, 2011, 09:09:42 AM
Hello,

Please provide your site url we can check issue!

Best Regards,
Trivedi kartik.
Title: Re: shopping cart
Post by: cas on October 04, 2011, 22:41:47 PM
Hello Trivedi,

Here's the link to the test site with one product:  http://www.designerfurniturecenter.com/component/virtuemart/living-room/sofas/Sofa

Thanks,
Chuck
Title: Re: shopping cart
Post by: MobiVM on October 05, 2011, 07:26:25 AM
Hello,

Can i check your administrator settings?

Best Regards,
Trivedi kartik.
Title: Re: shopping cart
Post by: cas on October 05, 2011, 09:56:16 AM
Hi Trivedi,

I sent you an email with the login info.

Thanks,
Chuck
Title: Re: shopping cart
Post by: msgm26 on October 05, 2011, 11:27:02 AM
I have a similar problem. After clicking the add to cart button, the homepage of the website is displayed and the shopping cart is empty. I am no longer so in the menu item "onlineshop". The SEF functions of Joomla and Virtuemart are disabled.

Please inform me here, once you've identified the problem.


Addendum: I use Joomla 1.7.1 and Virtuemart 1.9.8G.


Addendum 2: In my template style I have an option to optimize all JS-files. When I have switched this option from "join & minify & compress" to "no", the problem is resolved.
Title: Re: shopping cart
Post by: aaronf on October 07, 2011, 16:44:20 PM
I am having the same problem. Add to cart takes me to the cart page, but no product is added. Sadly, I don't have an optimize JS to turn off. :)

Joomla 1.7, Virtuemart 1.9.8H, Themegoat JMint template. SEO disabled. See link below.

Survival Store: Berkey, Sunoven, Wondermill (http://www.thefinchnest.com)
Title: Re: shopping cart
Post by: PRO on October 07, 2011, 17:03:09 PM
Quote from: aaronf on October 07, 2011, 16:44:20 PM
I am having the same problem. Add to cart takes me to the cart page, but no product is added. Sadly, I don't have an optimize JS to turn off. :)

Joomla 1.7, Virtuemart 1.9.8H, Themegoat JMint template. SEO disabled. See link below.

Survival Store: Berkey, Sunoven, Wondermill (http://www.thefinchnest.com)


did you try the "renew config by file"?

Title: Re: shopping cart
Post by: aaronf on October 07, 2011, 20:26:05 PM
Renewing configuration by file did not solve the problems...  :-\

Aaron
Title: Re: shopping cart
Post by: aaronf on October 07, 2011, 20:33:26 PM
Just enabled debug messages, and this is what I get when I try to add a product to cart:

Quotevmdebug COM_VIRTUEMART_CART_NO_CARRIER Var1:

SELECT v.*,j.*,s.virtuemart_shoppergroup_id  FROM   #__virtuemart_shippingcarriers AS v LEFT JOIN #__extensions as j ON j.`extension_id` =  v.`shipping_carrier_jplugin_id` LEFT OUTER JOIN #__virtuemart_shippingcarrier_shoppergroups AS s ON v.`virtuemart_shippingcarrier_id` = s.`virtuemart_shippingcarrier_id`  WHERE v.`published` = "1"  AND j.`element` = "weight_countries"
               AND  (v.`virtuemart_vendor_id` = "1" OR   v.`virtuemart_vendor_id` = "0")
               AND  (s.`virtuemart_shoppergroup_id`= "1" OR ISNULL(s.`virtuemart_shoppergroup_id`) )

Hope this helps,
Aaron
Title: Re: shopping cart
Post by: Milbo on October 07, 2011, 22:25:50 PM
This debug message has nothing todo with it sorry, it was only for shipment development and is removed from the svn
Title: Re: shopping cart
Post by: tomkinsimpson on October 09, 2011, 17:05:34 PM
I have exactly the same problem as aaronf.. same versions of software, even the same template. Shoppingcart stays empty alsof after renew config by file. I am working on a local server (MAMP) right now.
Now I need to go on line at the latest next week... do you advice to downgrade to joomla 1.5 and 1.1.9 virtuemart?
Title: Re: shopping cart
Post by: cas on October 09, 2011, 21:28:16 PM
I discovered what is causing the problem I am having with products not being added into the shopping cart.  I am using the GTranslate extension and their jQuery library conflicts with VM.  There is an admin setting in GTranslate to turn off the jQuery library.  When I made this admin change, the products now get added into the shopping cart.   The only remaining problem is that when GTranslate translates the page into any non-English language, the product no longer gets added into the cart.   It gets the following JavaScript error: g is not a function.  Source File: http://ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.min.js    Line: 17

Any idea how to fix this error?

Thanks,
Chuck
Title: Re: shopping cart
Post by: dangee on October 10, 2011, 13:55:44 PM
Same pb here (J1.7 + VM 1.9.8H). Cart doesn't show when pressing "add to cart" button.
But I noticed that if you hook the shopping cart page using joomla admin menu, the cart is actually up to date..
Title: Re: shopping cart
Post by: aaronf on October 10, 2011, 19:27:29 PM
I'm in the same boat with tompkinsimpson, I've got a short time to get this site off the ground, so any help here is greatly appreciated.

I've tried systematically disabling jQuery and other scripts with no results.

Aaron
Title: Re: shopping cart
Post by: Milbo on October 13, 2011, 20:34:29 PM
Maybe this post with the same problem helps http://forum.virtuemart.net/index.php?topic=91050.0
Title: Re: shopping cart
Post by: aaronf on October 14, 2011, 01:39:13 AM
Thanks! For some reason I hadn't found that thread when I searched the forums. I followed the advice therein and found (via Firebug) that I have three separate versions of jQuery being loaded... Ahhh!!! I have no idea how to remedy this problem, but I'll try to figure it out.

Aaron
Title: Re: shopping cart
Post by: tomkinsimpson on October 14, 2011, 21:59:55 PM
I got it working too..but happy for a short time. I installed the sample data and everything worked fine..untill I wanted to replace a thumbnail pic in the Shop... wham error 500 internal server error and I can not access anything anymore, not my admin panel nothing. Every change I made (simple changes like the name of the Shop) went fine..
Really weird, when I changed my .htaccess I could at least access my website again. But after reloading it jumped back to error 403..
--
[21:28:16.498] GET http://tomkinwear.com/administrator/index.php [HTTP/1.1 403 Forbidden 82ms]

so seems like my index.php... but how can that be screwed up? Anyone suggestions?
Title: Re: shopping cart
Post by: Milbo on October 14, 2011, 22:55:46 PM
Wow, please take a look on your files in your root directory. Maybe you didnt had paths set and it upload the image to one of this paths (FE or BE).
Title: Re: shopping cart
Post by: aaronf on October 14, 2011, 23:24:33 PM
Tomkin,
How did you get it working?! :D

Aaron