deepee Posted October 19, 2012 Share Posted October 19, 2012 (edited) Hi All I upgraded a shop to 1.5.1 and am currently testing. I was just about to go live when I noticed a problem with States. States are enabled and correct but don't display in customer's orders or in the "Customers Addresses" section in my back office. The displayed fields are: ID First name Last name Address Postal Code/Zip Code City Country Actions There is an option to "Set required Fields for This Section" but "id_state" doesn't appear in the available options. I've looked through all configuration settings and everything looks fine but can't find any way to get the "id_state" to show (see image). The fields are present and correct in the database and are populated. New customer registrations allow the state field to be entered Anyone have thoughts as to how to fix it? Thanks deepee Edited October 22, 2012 by deepee (see edit history) Link to comment Share on other sites More sharing options...
Carolina Custom Designs Posted October 20, 2012 Share Posted October 20, 2012 There is an option to "Set required Fields for This Section" but "id_state" doesn't appear in the available options. You misunderstand the purpose of this functionality. Fields checked under that setting will be required when you are entering a new address in the back office manually To add the state to the displayed table you will need to modify (not recommended) /controllers/admin/AdminAddressesController.php $fields_list array to include state, but beware that not all addresses have states. Marty Shue Link to comment Share on other sites More sharing options...
deepee Posted October 20, 2012 Author Share Posted October 20, 2012 Thanks for your reply, Marty. I didn't have this issue in the previous version where Sates were visible by default. Then how can I get the States to display in customer's orders, order emails, etc? Link to comment Share on other sites More sharing options...
Carolina Custom Designs Posted October 21, 2012 Share Posted October 21, 2012 Then how can I get the States to display in customer's orders, order emails, etc? This is a function of each county's setup (and how it is done did not change in 1.5 but maybe defaults are different) See this image for how to display address elements for each country in orders, emails etc. However, this setting will have no effect on which columns are displayed in the BO customers tab. Marty Shue 1 Link to comment Share on other sites More sharing options...
deepee Posted October 22, 2012 Author Share Posted October 22, 2012 Thanks, Marty. A picture says a thousand words and with a bit of trial and error, it's now fixed. I should have mentioned that my upgrade was from 1.2.4 so the process is very different! Thanks again deepee Link to comment Share on other sites More sharing options...
Carolina Custom Designs Posted October 22, 2012 Share Posted October 22, 2012 Thanks, Marty. A picture says a thousand words and with a bit of trial and error, it's now fixed. Great. Glad to hear you were able to get the issue sorted. Thanks also for marking the thread [solved]. This will help others searching for the same problem. Marty Shue Link to comment Share on other sites More sharing options...
vinylfreaks Posted October 31, 2012 Share Posted October 31, 2012 Marty, thanks for the photo! It helped to get the state choice to show up in the customers address field, but do you know how to make the states appear in the drop down menu? All that shows up is a '-' and no state names. Link to comment Share on other sites More sharing options...
vinylfreaks Posted October 31, 2012 Share Posted October 31, 2012 Sorry for the poor picture, but you get the idea. Link to comment Share on other sites More sharing options...
nathanielleee Posted December 3, 2012 Share Posted December 3, 2012 i wish i could see that image. its not available and im having major state woes with paypal Link to comment Share on other sites More sharing options...
mtporter Posted December 20, 2012 Share Posted December 20, 2012 I've done several suggestions but still no solution. I've added the 'var' for the authentication.tpl file.. I've renamed themes to themes2 and uploaded the downloaded 1.5.2 version (plus added 'var' to authentication.tpl file as well) but still have troubles as well as errors in IE8 I get a Identification number field instead: Link to comment Share on other sites More sharing options...
Aldi M Posted November 22, 2013 Share Posted November 22, 2013 (edited) This is a function of each county's setup (and how it is done did not change in 1.5 but maybe defaults are different) See this image for how to display address elements for each country in orders, emails etc. However, this setting will have no effect on which columns are displayed in the BO customers tab. Marty Shue Hi Marty, The image no longer exists but I assume you were referring to the country's individual settings. Well, I have my 'Contains states' enabled and also have STATES set in the 'Address format'. But still it does not show in the 'Customers Addresses' section. Any idea why and how to fix it?? PS: Im using PS 1.5.2 Edited November 22, 2013 by Aldi M (see edit history) Link to comment Share on other sites More sharing options...
Aldi M Posted November 22, 2013 Share Posted November 22, 2013 (edited) Oddly, though, if I disabled the 'Contains states' option, the STATES would show but the field is empty. Edited November 22, 2013 by Aldi M (see edit history) Link to comment Share on other sites More sharing options...
Aldi M Posted November 29, 2013 Share Posted November 29, 2013 No idea what'd happened but the STATES had mysteriously appeared again just as it had mysteriously disappeared earlier... Link to comment Share on other sites More sharing options...
janeske Posted April 15, 2014 Share Posted April 15, 2014 Can anyone assist with this problem?There is no state drop down option for any country in the FO but it is, thank fully, in the BO. This problem effects all new account registrars. I have opened a test account in the BO (where the state drop down works fine) due to the fact that I cannot create the account in the FO (Error: "This country requires you to choose a state"). But now, after having created the account and address in the BO) when I try to proceed with the check out (and the correct address and state as created in the BO) I get an error with no carriers available.The website is www.adornbybedight.co.zaI was suppose to go live with my site 2 weeks ago and cannot do that until this problem has been solved. Link to comment Share on other sites More sharing options...
evan13 Posted May 26, 2014 Share Posted May 26, 2014 (edited) Hi all,It's interesting to do debuggingMy website is having the same problemSome Address Fields are not shown (Name, Company, Address, Country, State, City)It's only displaying Field : Post Code, Additional Info, Telp, Address referenceeither when New user creation or Update the address of existing userIt's utilized Prestashop 1.5.6I've tried some resolutions, but no changeThese are :1. check the source code of Address.tpl, Addresses.tpl. Authentication.tpl & comparing with the default code, no differences. then I replaced with the default code but the problem still come up2. Check & edit Authentication.tpl by adding "var" as suggested on other forum3. Clear the smarty cache & refresh the websiteWould you kindly advice me how to fix the problem ? Thank you, Edited May 26, 2014 by evan13 (see edit history) Link to comment Share on other sites More sharing options...
evan13 Posted May 26, 2014 Share Posted May 26, 2014 Dear All, I already found why some Address fields not shown? It has been resolved after updating ps_address_format Thank you, Link to comment Share on other sites More sharing options...
[email protected] Posted September 11, 2014 Share Posted September 11, 2014 Dear All, I already found why some Address fields not shown? It has been resolved after updating ps_address_format Thank you, Hi evan13 I got the same problem with you. Will you explain more what were you updating from table ps_address_format? I still can't figure out how to solve it Thanks Link to comment Share on other sites More sharing options...
usengines Posted July 27, 2015 Share Posted July 27, 2015 I am having a problem after upgrading to version 1.6.1 where in the checkout the drop down menu for state has no selection just a dash, at Jointsystems.com? Link to comment Share on other sites More sharing options...
saintofinternet Posted January 7, 2016 Share Posted January 7, 2016 i am having a similar problem with ver 1.6.1.3 where the ZIP/POSTAL code field is not visible in the registration form for new user. what would be wrong? 1 Link to comment Share on other sites More sharing options...
JaneKalon Posted February 11, 2016 Share Posted February 11, 2016 My too. I have the same problem. Did anyone find the solution? Link to comment Share on other sites More sharing options...
jbhamers Posted February 17, 2017 Share Posted February 17, 2017 (edited) I am having a problem after upgrading to version 1.6.1 where in the checkout the drop down menu for state has no selection just a dash, at Jointsystems.com? hello usengines,, have u solve this error ? i have this problem too if u have.. how do you fixed it ? thanks man Edited February 17, 2017 by jbhamers (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts