News:

Looking for documentation? Take a look on our wiki

Main Menu

add to cart redirecting.

Started by printnweb, October 23, 2014, 12:21:40 PM

Previous topic - Next topic

printnweb

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

GJC Web Design

first I would get rid of any sef while your on a temp url
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

jenkinhill

Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

printnweb

#3
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/

GJC Web Design

amazing - you got 2.6.8 to install on J3!!!!!!!

2.9.9 - soon to be vm3 is for J3
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

alatak

Hello
What are your setting in the Virtuemart config > Templates > Activate Css Styles & Javascripts ?

printnweb

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

GJC Web Design

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
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

printnweb

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

printnweb

Thanks for your input, as you can probabaly tell im new to coding.. Can you suggest a way to fix, in lamens terms?

printnweb

Hi,

I have disabled jqueryeasy...still getting the same issue. :-\

GJC Web Design

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
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

GJC Web Design

jqueryeasy is the SOLUTION! - you can't have it configured correctly
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

jenkinhill

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.
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum