Zen Cart Logo
Forums / Managing Customers and Orders / indent 'ship to' address on invoice

indent 'ship to' address on invoice

Locked

Views: 1,913

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
29 Jul 2007, 9:31 AM
#1
neaty avatar

neaty

New Zenner

Join Date:
May 2007
Location:
Trowbridge, Wiltshire, UK
Posts:
14
Plugin Contributions:
0

indent 'ship to' address on invoice

how can i move the 'ship to' address block on the invoice to the right? (i need to do this so that it fits in a document enclosed holder window)

i presume its in the admin/invoice.php file somewhere but i've played around with a few parameters and i can't figure it out

so if anyone can tell me what needs changing i'd be very grateful

many thanks

30 Jul 2007, 4:17 AM
#2
wolfsz avatar

wolfsz

Zen Follower

Join Date:
Mar 2006
Location:
Australia
Posts:
286
Plugin Contributions:
3

Re: indent 'ship to' address on invoice

Hi there
this is a simple matter of changing the alignment of the <td>
around line 107 after the <td add this text: align="right"

Make sure you backup the file before you make changes

30 Jul 2007, 10:16 PM
#3
neaty avatar

neaty

New Zenner

Join Date:
May 2007
Location:
Trowbridge, Wiltshire, UK
Posts:
14
Plugin Contributions:
0

Re: indent 'ship to' address on invoice

Hi, thanks for your response.

I tried what you suggested and what it does is to move all the address lines all the way along to the right so they end up in a right-justified format.

What I want to do is to keep the address left-justified, but to move it all about an inch or so along to the right.

I suspect the 'offending' lines are:

<td valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="2">
<tr>
<td class="main"><b><?php echo ENTRY_SHIP_TO; ?></b></td>
</tr>
<tr>
<td class="main"><b style="font-size: 1.6em"><?php echo zen_address_format($order->delivery['format_id'], $order->delivery, 1, '', '<br>'); ?></td>
</tr>
</table></td>

Any further suggestions would be gratefully received.

30 Jul 2007, 10:35 PM
#4
wolfsz avatar

wolfsz

Zen Follower

Join Date:
Mar 2006
Location:
Australia
Posts:
286
Plugin Contributions:
3

Re: indent 'ship to' address on invoice

Hi again
Then you can simply pad with spaces to adjust text to the right. Use the HTML space entity:   to do this.