Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

bug in default way the address are shown


211655

Recommended Posts

Hi.

in admin panel, in order.php

why it shows orders as

Name

address

city, zip

state, country

 

in order.php file. I want to show normal way. zip should be always after state.

 

now code is this?

Line 152 on mine admin/order.php

<tr>
               <td class="main" valign="top"><b><?php echo ENTRY_CUSTOMER; ?></b></td>
               <td class="main"><?php echo tep_address_format($order->customer['format_id'], $order->customer, 1, '', '<br>'); ?></td>
             </tr>

 

how do i change here. this is the code that displays it. where is format_id?

or for say i wanna show last name first then first name and put comma between.

 

plz help.

Link to comment
Share on other sites

Hi.

in admin panel, in order.php

why it shows orders as

Name

address

city, zip

state, country

 

in order.php file. I want to show normal way. zip should be always after state.

 

now code is this?

Line 152 on mine admin/order.php

<tr>
               <td class="main" valign="top"><b><?php echo ENTRY_CUSTOMER; ?></b></td>
               <td class="main"><?php echo tep_address_format($order->customer['format_id'], $order->customer, 1, '', '<br>'); ?></td>
             </tr>

 

how do i change here. this is the code that displays it. where is format_id?

or for say i wanna show last name first then first name and put comma between.

 

plz help.

 

 

we do not all live in the US

Treasurer MFC

Link to comment
Share on other sites

I want to show normal way. zip should be always after state.
Normal is zip code before city :D

 

Administration => countries => change: Address Format:

"If you're working on something new, then you are necessarily an amateur."

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...