kylemarlin Posted March 16, 2013 Share Posted March 16, 2013 Hello all, I'm encountering an issue with my state drop down where it's not populating. This is happening with a few themes, but not all of my themes, including the default one. Based on that, I know it's not a database issue, but I did verify the database anyway to ensure it contained the state data I needed. I found a few older posts here and around the internet and their solutions (if there were any) did not resolve my problem. I have verified that the country field is being populated and it shows United States selected. I can also verify that the code in address.tpl to output the state field is identical to the code in the default theme, so there's no point in posting that here. So I suppose my question is given all the things I have already checked, has anyone encountered a similar issue, or can anyone tell me where the actual code to populate the state field is? Thanks to anyone who can help. It is certainly much appreciated. Kyle Marlin Link to comment Share on other sites More sharing options...
kylemarlin Posted March 30, 2013 Author Share Posted March 30, 2013 Hello all, I hate to bump this but I still haven't figured out how to get this to populate. Here's the code that I have in the address.tpl file of the template. {if $field_name eq 'State:name'} {assign var="stateExist" value="true"} <p class="required id_state select"> <label for="id_state">{l s='State'} <sup>*</sup></label> <select name="id_state" id="id_state"> <option value="">-</option> </select> </p> {/if} If anyone sees any glaring issues or can shed some light on this, it would be much appreciated. Thanks, Kyle Marlin Link to comment Share on other sites More sharing options...
Recommended Posts