enigma32 Posted March 26, 2010 Share Posted March 26, 2010 I touched on this bug in a thread somewhere but was too busy with other things to fix it myself.When a customer goes to update their address during checkout or in 'my account' it autofills the form with everything except their state. address.tpl will check every field for a new address entered through the form (in case an error brings them back to the page again) then default to the value from database. For the state field however it only checks for form input, then defaults to null. This is a simple fix, and retains the third option of null for international compatability.YOUR_THEME_DIR/ADDRESS.TPL > LINE 9 : idSelectedCountry = {if isset($smarty.post.id_state)}{$smarty.post.id_state|intval}{else}false{/if}; change to idSelectedCountry = {if isset($smarty.post.id_state)}{$smarty.post.id_state|intval}{elseif isset($address->id_state)}{$address->id_state|intval}{else}false{/if}; If anybody knows the process to get this fix submitted go at it I don't got time for that Link to comment Share on other sites More sharing options...
rocky Posted March 26, 2010 Share Posted March 26, 2010 I reported it for you. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now