News:

Support the VirtueMart project and become a member

Main Menu

State / Province / Region Issue

Started by CreativeDesigns, August 02, 2013, 16:08:16 PM

Previous topic - Next topic

CreativeDesigns

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..

Maxim Pishnyak

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).
You can support Community by voting for Project on the JED
https://extensions.joomla.org/extension/virtuemart/#reviews
Join us at
https://twitter.com/virtuemart

CreativeDesigns

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

CreativeDesigns

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?

Maxim Pishnyak

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.
You can support Community by voting for Project on the JED
https://extensions.joomla.org/extension/virtuemart/#reviews
Join us at
https://twitter.com/virtuemart

jenkinhill

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?
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

Maxim Pishnyak

Thanx, Jenkinhill. I wasn't informed that two 'jquery-noconflict.js' could ruin web pages.
You can support Community by voting for Project on the JED
https://extensions.joomla.org/extension/virtuemart/#reviews
Join us at
https://twitter.com/virtuemart

jenkinhill

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.
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

CreativeDesigns

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?



Maxim Pishnyak

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?
You can support Community by voting for Project on the JED
https://extensions.joomla.org/extension/virtuemart/#reviews
Join us at
https://twitter.com/virtuemart

CreativeDesigns

Am using Joomla 2.5.14 and Virtuemart 2.0.22a

Maxim Pishnyak

So, are you able to switch joomla templates?
You can support Community by voting for Project on the JED
https://extensions.joomla.org/extension/virtuemart/#reviews
Join us at
https://twitter.com/virtuemart

CreativeDesigns

All templates that were never in use were removed, so it's not something I have tried.

Maxim Pishnyak

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.
You can support Community by voting for Project on the JED
https://extensions.joomla.org/extension/virtuemart/#reviews
Join us at
https://twitter.com/virtuemart

CreativeDesigns

OK, so I reinstalled the Beez template, tested it, and I'm having the same problem.
Now what?