Jump to content

[SOLVED] 1.4.1 to 1.4.3 - Invoice Address Gone


Recommended Posts

After upgrading the address on orders (both PDF & back office) are missing. I have to click into the customer to see what his address is. I compared the 2 AddressOrders.php in the tabs folder and there are big differences.

Please tell me if there is some easier way to fix this than changing the code. I don't want to have another problem after changing something here.

1.4.1:


'. (!empty($addressDelivery->company) ? $addressDelivery->company.'
' : '') .$addressDelivery->firstname.' '.$addressDelivery->lastname.'

'.$addressDelivery->address1.'
'. (!empty($addressDelivery->address2) ? $addressDelivery->address2.'
' : '') .'
'.$addressDelivery->postcode.' '.$addressDelivery->city.'

'.$addressDelivery->country.($addressDelivery->id_state ? ' - '.$deliveryState->name : '').'

'.(!empty($addressDelivery->phone) ? $addressDelivery->phone.'
' : '').'
'.(!empty($addressDelivery->phone_mobile) ? $addressDelivery->phone_mobile.'
' : '').'
'.(!empty($addressDelivery->other) ? ''.$addressDelivery->other.'
' : '').'




1.4.3:


'.$this->displayAddressDetail($addressDelivery)
.(!empty($addressDelivery->other) ? ''.$addressDelivery->other.'
' : '')
.'

Link to comment
Share on other sites

OK I only just noticed there is this new ps_address_format table in 1.4.3. Importing that from a blank 1.4.3 solved the problem.

Anyone know where there is a list of changes (e.g. new database tables) in 1.4.3?

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...