Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Is there a CSS for invoices?


Guest

Recommended Posts

Posted

When I look at the invoice in a standard install the text for the company is too large and poorly formatted plus it has the standard OSC logo how do I change these?

 

Any help would be greatly appreciated as I am a OSC newbie

Posted
When I look at the invoice in a standard install the text for the company is too large and poorly formatted plus it has the standard OSC logo how do I change these?

 

Any help would be greatly appreciated as I am a OSC newbie

 

 

The invoice file is catalog/admin/invoice.php. In there you will see the CSS styles it uses. For example, class="pageHeading".

 

Now the style definition of pageHeading is in catalog/stylesheet.css

 

However, the styles are also used in other pages on the site, so rather than change the style definition, create another new style definitions, and tell it to use those for the text in various places in the invoice.php file.

 

I went one step further, and instead of adding new styles to the original stylesheet.css file, I created my own additional stylesheet called "vei_stylesheet.css" and then told it to also use that one. That is also in the invoice.php file. Where there is...

<link rel="stylesheet" type="text/css" href="includes/stylesheet.css">

 

I also added...

<link rel="stylesheet" type="text/css" href="includes/vei_stylesheet.css">

 

below that.

 

Cheers,

-Neil.

Posted

BTW, you'll see a reference to oscommerce.gif in that same invoice.php file. You can change that to your logo file, but also change the height and width etc to match your image.

 

Cheers,

-Neil.

Archived

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

×
×
  • Create New...