Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Logo On Invoice


UKCarAdverts

Recommended Posts

Posted
Hi,

 

Could anyone tell me how to change the logo on the Invoice slips from the OSCommerce one?

 

Thanks

 

Steve

 

In your admin/invoice.php file look for the following line at or about line 39

 

<td class="pageHeading" align="right"><?php echo tep_image(DIR_WS_IMAGES . 'oscommerce.gif', 'osCommerce', '204', '50'); ?></td>

 

Replace the osC info with your own.

The Knowledge Base is a wonderful thing.

Do you have a problem? Have you checked out Common Problems?

There are many very useful osC Contributions

Are you having trouble with a installed contribution? Have you checked out the support thread found Here

BACKUP BACKUP BACKUP!!! You did backup, right??

Posted

In catalog->admin->invoice.php, find:

 

<?php echo tep_image(DIR_WS_IMAGES . 'oscommerce.gif', 'osCommerce', '204', '50'); ?>

 

change that to:

 

<?php echo tep_image(DIR_WS_IMAGES . 'newimageorwhatever.gif', 'alt-tag', '204', '50'); ?>

 

where newimageorwhatever is the name of the logo you want to show, alt-tag is the text you want to popup if you hover over the logo (probably irrelevant as its only you sees it, and where '204', '50' are equal to the dimensions of the image you have changed to (in pixels)

 

Hope that helps!

Please note - if I have suggested a contrib above, it doesnt mean it will work! Most of the contribs are not ones I've used, but may be useful for your particular problem....

Have you tried a refined search? Chances are your problem has already been dealt with elsewhere on the forums.....

if (stumped == true) {

return(square_one($start_over)

} else {

$random_query = tep_fetch_answer($forum_query)

}

Archived

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

×
×
  • Create New...