Alexgaw Posted June 17, 2014 Share Posted June 17, 2014 HI, The ebay1.67 module does not save the state/province name from an ebay order into prestashop. Looking at the code in the synchronizer it seem that the state name is fetched from ebay but not entered into the db. It has to be match to the correct state ID and then the ID save in the address table in the DB. Anyone who knows how to fix this , without messing up anything else? Cheers, /Alex Link to comment Share on other sites More sharing options...
Prestalia Posted June 23, 2014 Share Posted June 23, 2014 the problem is that in ebay the state/province is an open option ( you can write what do you want) and not a fix option. if you set to import that in prestashop go in fatal error for that. it is possible only in country (like canada) where the state/province is fix. regards Link to comment Share on other sites More sharing options...
Involic Posted June 23, 2014 Share Posted June 23, 2014 It's possible get state like this $stateResult = State::getIdByIso($customerAddress['state'], $address->id_country); But as say Prestalia this will only work for country with states in PS DB. For other countries possible add state to address field. In PrestaBay we do like this $address->address2 .= " ".$customerAddress['state']; 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