Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Changing the layout of the Packing slip


Guest

Recommended Posts

Hi,

 

Is it possible to reduce the font of the address on the packing slip.

 

The reason being so that it can be easily folded and placed into a document holder.

Link to comment
Share on other sites

I would make a new class in /catalog/admin/includes/stylesheet.css similar to main. This is the original main class:

 

.main { font-family: Verdana, Arial, sans-serif; font-size: 12px; }

 

So at the bottom of the stylesheet, add a new class like:

 

.packingslip { font-family: Verdana, Arial, sans-serif; font-size: 10px; }

 

Then open up /catalog/admin/packingslip.php

 

If you just want to change the addess, look for "tep_address_format" and you'll see something like:

 

<td class="main"><?php echo tep_address_format($order->delivery['format_id'], $order->delivery, 1, '', '<br>'); ?></td>

 

Just change the class to "packingslip":

 

<td class="packingslip"><?php echo tep_address_format($order->delivery['format_id'], $order->delivery, 1, '', '<br>'); ?></td>

 

If you want to change the font for the whole page, just replace class="main" with class="packingslip".

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...