VirtueMart Forum

VirtueMart 2 + 3 + 4 => Administration & Configuration => Topic started by: CreativeDesigns on August 02, 2013, 16:08:16 PM

Title: State / Province / Region Issue
Post by: CreativeDesigns on August 02, 2013, 16:08:16 PM
I have uploaded the Provinces within my country, but when a person registers, the country populates, but not the states..
All other countries have been disabled, as my client doesnt ship overseas.. Why would my provinces not populate?
http://216.45.55.175/~creatdev/GentlePresence/index.php/online-shop/user/editaddresscheckoutBT.html

I've tried adding the states in the Shopper Field list too.. Still not working :(

Hope someone can help..
Title: Re: State / Province / Region Issue
Post by: Maxim Pishnyak on August 02, 2013, 17:47:09 PM
I advise you to test your web shop with using non-numeric url. There're plenty free shared hosting services over Internet.

But first you could test your issue on standard Joomla template (beez5).
Title: Re: State / Province / Region Issue
Post by: CreativeDesigns on August 05, 2013, 10:18:41 AM
Hi Maxim,
Thanks for your response.
I have started moving all my development sites to a non-numerical URL, but this is not one of them.
Once it's on their live site, hopefully it will start working (I hope this is what you are getting at :) ) - if not, I'll come back and see if you have any other solutions :)

Many thanks!
Samantha
Title: Re: State / Province / Region Issue
Post by: CreativeDesigns on August 12, 2013, 15:29:37 PM
Hi Maxim,

I have moved the site over to a live server - and I'm still having the same problems with the state not populate.
http://gentlepresence.co.za

What else can be causing this issue?
Title: Re: State / Province / Region Issue
Post by: Maxim Pishnyak on August 13, 2013, 11:24:12 AM
VM version? In new VM option 'Use jQuery chosen for dropdowns in FE' must be turned on.

Also your 'shop now...' still goes to numeric url.
Title: Re: State / Province / Region Issue
Post by: jenkinhill on August 13, 2013, 11:25:31 AM
The shop comes up with this url:  http://216.45.55.175/~creatdev/GentlePresence/index.php/online-shop.html

Apart from a failure to turn on jQ for dropdowns,  this is usually a JavaScript issue or related to an interfering plugin. You could try removing this from your template:
<script src="http://216.45.55.175/~creatdev/GentlePresence/templates/mega_sarenka/js/jquery-noconflict.js" type="text/javascript"></script>
as there is no point in loading two copies of jquery-noconflict.js  (VM loads one first).

Have you tested on Beez20 template to rule out issues with your Joomla template casuing this?
Title: Re: State / Province / Region Issue
Post by: Maxim Pishnyak on August 13, 2013, 11:32:55 AM
Thanx, Jenkinhill. I wasn't informed that two 'jquery-noconflict.js' could ruin web pages.
Title: Re: State / Province / Region Issue
Post by: jenkinhill on August 13, 2013, 18:02:43 PM
Quote from: Maxim Pishnyak on August 13, 2013, 11:32:55 AM
Thanx, Jenkinhill. I wasn't informed that two 'jquery-noconflict.js' could ruin web pages.

Not sure that "ruin" is the correct term, but it could cause some unforseen issues.
Title: Re: State / Province / Region Issue
Post by: CreativeDesigns on August 13, 2013, 19:00:50 PM
Hi guys,

thanks for the responses.
I failed to edit the route in the config file. shop is now going to the correct address. Thank you for picking this up.

Have checked the register page and still getting the same issue http://gentlepresence.co.za/online-shop/user/editaddresscheckoutBT.html

Use jQuery chosen for dropdowns in FE is set to on.
I have commented out a line of code in the index.php file of the template as follows:
Quote$doc->addScript(JURI::base() . 'templates/' . $this->template . '/js/jquery-noconflict.js');

Still no change in the drop down for the provinces.
Anything else I can try?
I'm happy to provide login details to the backend and FTP etc if it willl help?


Title: Re: State / Province / Region Issue
Post by: Maxim Pishnyak on August 13, 2013, 20:47:58 PM
Quote from: jenkinhill on August 13, 2013, 11:25:31 AM
Have you tested on Beez20 template to rule out issues with your Joomla template casuing this?
Title: Re: State / Province / Region Issue
Post by: CreativeDesigns on August 14, 2013, 18:10:35 PM
Am using Joomla 2.5.14 and Virtuemart 2.0.22a
Title: Re: State / Province / Region Issue
Post by: Maxim Pishnyak on August 14, 2013, 22:09:48 PM
So, are you able to switch joomla templates?
Title: Re: State / Province / Region Issue
Post by: CreativeDesigns on August 15, 2013, 08:44:42 AM
All templates that were never in use were removed, so it's not something I have tried.
Title: Re: State / Province / Region Issue
Post by: Maxim Pishnyak on August 15, 2013, 10:51:25 AM
Quote from: CreativeDesigns on August 15, 2013, 08:44:42 AM
All templates that were never in use were removed, so it's not something I have tried.
You still make your web site. And switching to another template is a useful trick to understand what is going on.
If you was able to remove this template, you also could install it back.
Title: Re: State / Province / Region Issue
Post by: CreativeDesigns on August 19, 2013, 19:14:15 PM
OK, so I reinstalled the Beez template, tested it, and I'm having the same problem.
Now what?
Title: Re: State / Province / Region Issue
Post by: Maxim Pishnyak on August 21, 2013, 15:40:19 PM
I could try to help you. You could pm me access.
Title: Re: State / Province / Region Issue
Post by: CreativeDesigns on August 21, 2013, 17:50:05 PM
Thank you Maxim. I have PM'd them to you :)
Title: Re: State / Province / Region Issue
Post by: Maxim Pishnyak on August 21, 2013, 20:36:22 PM
I'm confused a bit. For unknown reason 'Using the Script ajax Countries / Regions' was turned off.
Title: Re: State / Province / Region Issue
Post by: CreativeDesigns on August 22, 2013, 16:33:24 PM
That's wierd. That's under the configuration, yes?
When I checked that previously, it was checked as on.

Thank you so much for fixing this for me.
It is working now. I really really really appreciate your help and patience with me! :)
Title: Re: State / Province / Region Issue
Post by: Maxim Pishnyak on August 22, 2013, 18:00:17 PM
You're welcome!