enigma32 Posted February 5, 2010 Share Posted February 5, 2010 referring to both authentication.tpl and address.tplthe zipcode (postcode) was an easy fix, the value is set to $smart.post.postcode if the variable is set, but they forgot to add an else statement to that one field of $address->postcode if smarty's not set. The state dropdown on the other hand has its options displayed and set via jscript. I'm clueless in javascript, let alone jscript, so this is going to be near impossible for me to even attempt to fix. The line that sets .attr to selected does indeed get the variable of id_state from $smarty.post or $address, but it still never sets the option to selected. Not a MAJOR problem, just a little imperfection and inconvenience for users to have to set the state every time they modify the address, something thats bugging me.anybody know of a fix? tried searching for it and it doesnt look like anybody has even been bothered by this yet, and im kind of surprised presta never found such an obvious bug using the code multiple times in the cart 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