noesac Posted January 4, 2011 Share Posted January 4, 2011 I tried changing line 53 on order-details.tplFrom: {$address_invoice->postcode|escape:'htmlall':'UTF-8'} {$address_invoice->city|escape:'htmlall':'UTF-8'} To: {$address_invoice->city|escape:'htmlall':'UTF-8'} {$address_invoice->postcode|escape:'htmlall':'UTF-8'} but this didn't seem to work Link to comment Share on other sites More sharing options...
jhnstcks Posted January 4, 2011 Share Posted January 4, 2011 You need to change it in the order-address.js file Link to comment Share on other sites More sharing options...
noesac Posted January 4, 2011 Author Share Posted January 4, 2011 I just made the following change on line 54, this doesn't seem to have done it:From: $('ul#address_' + addressType + ' li.address_city').html(addresses[idAddress][5] + ' ' + addresses[idAddress][6]); To: $('ul#address_' + addressType + ' ' + addresses[idAddress][6] + ' li.address_city').html(addresses[idAddress][5]); Link to comment Share on other sites More sharing options...
jhnstcks Posted January 4, 2011 Share Posted January 4, 2011 Just switch the numbers in the brackets and nothing else.So try $('ul#address_' + addressType + ' li.address_city').html(addresses[idAddress][6] + ' ' + addresses[idAddress][5]); Link to comment Share on other sites More sharing options...
noesac Posted January 4, 2011 Author Share Posted January 4, 2011 I just tried this and it didn't work unfortunately. Does the order have to be a new one for it it work? Link to comment Share on other sites More sharing options...
jhnstcks Posted January 4, 2011 Share Posted January 4, 2011 Sorry i was thinking of the wrong page.Here is my order-details.tpl address section that I altered. ></pre> <ul> {l s='Invoice'} {if $address_invoice->company}{$address_invoice->company|escape:'htmlall':'UTF-8'}{/if} {$address_invoice->firstname|escape:'htmlall':'UTF-8'} {$address_invoice->lastname|escape:'htmlall':'UTF-8'} {$address_invoice->address1|escape:'htmlall':'UTF-8'} {if $address_invoice->address2}{$address_invoice->address2|escape:'htmlall':'UTF-8'}{/if} {$address_invoice->city|escape:'htmlall':'UTF-8'}{if $invoiceState} - {$invoiceState->name|escape:'htmlall':'UTF-8'}{/if} {$address_invoice->postcode|escape:'htmlall':'UTF-8'} {$address_invoice->country|escape:'htmlall':'UTF-8'} {if $address_invoice->phone}{$address_invoice->phone|escape:'htmlall':'UTF-8'}{/if} {if $address_invoice->phone_mobile}{$address_invoice->phone_mobile|escape:'htmlall':'UTF-8'}{/if} </ul> <br><ul> {l s='Delivery'} {if $address_delivery->company}{$address_delivery->company|escape:'htmlall':'UTF-8'}{/if} {$address_delivery->firstname|escape:'htmlall':'UTF-8'} {$address_delivery->lastname|escape:'htmlall':'UTF-8'} {$address_delivery->address1|escape:'htmlall':'UTF-8'} {if $address_delivery->address2}{$address_delivery->address2|escape:'htmlall':'UTF-8'}{/if} {$address_delivery->city|escape:'htmlall':'UTF-8'}{if $deliveryState} - {$deliveryState->name|escape:'htmlall':'UTF-8'}{/if} {$address_delivery->postcode|escape:'htmlall':'UTF-8'} {$address_delivery->country|escape:'htmlall':'UTF-8'} {if $address_delivery->phone}{$address_delivery->phone|escape:'htmlall':'UTF-8'}{/if} {if $address_delivery->phone_mobile}{$address_delivery->phone_mobile|escape:'htmlall':'UTF-8'}{/if} </ul> Maybe it could help Link to comment Share on other sites More sharing options...
noesac Posted January 4, 2011 Author Share Posted January 4, 2011 Still no luck! I'm not sure what i'm doing wrong, so this worked for you? Link to comment Share on other sites More sharing options...
noesac Posted January 12, 2011 Author Share Posted January 12, 2011 I got it! You need to make the change in AdminOrders.phpSo I changed: '.$addressDelivery->postcode.' '.$addressDelivery->city.' '.$addressDelivery->country.($addressDelivery->id_state ? ' - '.$deliveryState->name : '').' To: '.$addressDelivery->city.' '.(!empty($addressDelivery->id_state) ? ' '.$deliveryState->name : '').' '.$addressDelivery->postcode.' '.$addressDelivery->country.' Link to comment Share on other sites More sharing options...
jhnstcks Posted January 12, 2011 Share Posted January 12, 2011 You never mentioned you wanted the admin order details changed, if you had i would have been able to solve your problem straight away. Link to comment Share on other sites More sharing options...
noesac Posted January 12, 2011 Author Share Posted January 12, 2011 Sorry jhnstcks, I should have been clearer. Link to comment Share on other sites More sharing options...
daverr Posted July 10, 2012 Share Posted July 10, 2012 for info, i had the same problem using one page checkout, the number switch at the top of this post worked for me. thanks 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