VirtueMart Forum

VirtueMart 2 + 3 + 4 => Administration & Configuration => Topic started by: waemisegger on June 24, 2014, 20:30:29 PM

Title: state drop down menu is not working
Post by: waemisegger on June 24, 2014, 20:30:29 PM
during the checkout process the state drop down menu doesnt work nothing populates. i am a us company and only ship with in the us. please help! i have played with different jquery and js settings. i have extrsafejavascript and easy java script. i also turned sh404sef on and off and no results. also i have switched templates and still no change.
email: waemisegger@gmail.com
www.elstonsdiv10.com
virtuemart 2.6.6
joomla 2.5.18
Thanks in advance
Title: Re: state drop down menu is not working
Post by: GJC Web Design on June 24, 2014, 21:25:50 PM
But u have no country at all on your edit address page - afaik the state dropdown needs a country field (hidden or otherwise ) to know what States to offer

it gets the states by an ajax call index.php?option=com_virtuemart&view=state&format=json&virtuemart_country_id='something'

JS is in vmsite.js

if you don't want a country showing you will need to hack this file unless someone knows better
Title: Re: state drop down menu is not working
Post by: waemisegger on July 06, 2014, 10:22:42 AM
thank you for pointing that out. the issue still remains. any other thoughts?
Title: Re: state drop down menu is not working
Post by: GJC Web Design on July 06, 2014, 10:36:02 AM
jquery error - your loading your jquery after the jquery.chosen
Title: Re: state drop down menu is not working
Post by: jenkinhill on July 06, 2014, 10:39:53 AM
Quantity change buttons & add to cart on product details not working either. JavaScript debugger shows multiple issues. You are not loading jQuery before the VM js files, thus the VM scripts cannot function correctly. So start there with debugging.   http://forum.virtuemart.net/index.php?topic=119638.0
Title: Re: state drop down menu is not working
Post by: waemisegger on July 09, 2014, 06:26:48 AM
thank you for that. how do i fix the jquery issue? i am a noob sorry.
Title: Re: state drop down menu is not working
Post by: GJC Web Design on July 09, 2014, 11:40:23 AM
why do u think Jenks incl. this link????   http://forum.virtuemart.net/index.php?topic=119638.0