VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: printnweb on October 23, 2014, 12:21:40 PM

Title: add to cart redirecting.
Post by: printnweb on October 23, 2014, 12:21:40 PM
I know there have been some similar problems mentioned with "add to cart" not working correctly, namely with javascript errors. My issue is a bit different.

Everytime i click "add to cart"  Virtuemart redirects to an empty cart page.    http://78.129.133.191/~prontoet/etake/index.php/component/virtuemart/      ...It just started doing this suddenly, before it was working absoloutley fine.

Does anyone know where i have gone wrong?

Joomla 3, Virtuemart 2
Title: Re: add to cart redirecting.
Post by: GJC Web Design on October 23, 2014, 12:34:55 PM
first I would get rid of any sef while your on a temp url
Title: Re: add to cart redirecting.
Post by: jenkinhill on October 23, 2014, 12:50:31 PM
Quote from: printnweb on October 23, 2014, 12:21:40 PM
Joomla 3, Virtuemart 2

Which actual versions???
Title: Re: add to cart redirecting.
Post by: printnweb on October 23, 2014, 13:22:05 PM
Hi sorry, heres the actual versions

joomla 3.3 VirtueMart 2.6.8

You can navigate to the issue from the homepage..  http://78.129.133.191/~prontoet/etake/
Title: Re: add to cart redirecting.
Post by: GJC Web Design on October 23, 2014, 14:33:27 PM
amazing - you got 2.6.8 to install on J3!!!!!!!

2.9.9 - soon to be vm3 is for J3
Title: Re: add to cart redirecting.
Post by: alatak on October 23, 2014, 15:20:26 PM
Hello
What are your setting in the Virtuemart config > Templates > Activate Css Styles & Javascripts ?
Title: Re: add to cart redirecting.
Post by: printnweb on October 23, 2014, 16:40:40 PM
Use Fancybox    
Using the VirtueMart CSS    - ticked
Using the VirtueMart jQuery -   ticked
Using the product Scripts    -ticked
Using the Script ajax Countries / Regions   - ticked   
Use jQuery chosen for dropdowns in FE    - ticked
Use external google jQuery library    

Thanks
Title: Re: add to cart redirecting.
Post by: GJC Web Design on October 23, 2014, 16:49:12 PM
multiple jquery problems

ReferenceError: Virtuemart is not defined

jQuery("body").live("updateVirtueMartCartModule", function(e) {

on popup add to cart thing

you jqueryeasy installed but your still loading 2 x jquery library
Title: Re: add to cart redirecting.
Post by: printnweb on October 23, 2014, 16:50:36 PM
Quote from: alatak on October 23, 2014, 15:20:26 PM
Hello
What are your setting in the Virtuemart config > Templates > Activate Css Styles & Javascripts ?

Correction, im using 2.9.9d
Title: Re: add to cart redirecting.
Post by: printnweb on October 23, 2014, 16:53:11 PM
Thanks for your input, as you can probabaly tell im new to coding.. Can you suggest a way to fix, in lamens terms?
Title: Re: add to cart redirecting.
Post by: printnweb on October 23, 2014, 16:58:10 PM
Hi,

I have disabled jqueryeasy...still getting the same issue. :-\
Title: Re: add to cart redirecting.
Post by: GJC Web Design on October 23, 2014, 16:58:35 PM
first - switch off all SEF until your finished dev - it just complicates things
second - find out why  - even though you have jqueryeasy instaled you still manage to load 2 jquery libraries - it will never work with 2 libraries loaded
Title: Re: add to cart redirecting.
Post by: GJC Web Design on October 23, 2014, 16:59:23 PM
jqueryeasy is the SOLUTION! - you can't have it configured correctly
Title: Re: add to cart redirecting.
Post by: jenkinhill on October 23, 2014, 17:28:59 PM
BUT 2.9.9d is a testing/development version, really for experienced users to test and then report bugs/problems, and we are already 3+ versions beyond that in the testing cycle and several issues have been fixed. It is not easy to test if there are also problems caused by javascript conflicts.