PDA

View Full Version : remove osCommerce logo from invoice and packing slip



sheikyerbouti
10-20-2002, 02:13 PM
Can you tell me how to do one of the following?
1. Either remove the osCommerce logo from the customer invoice and packing slip.....
2. OR add my own logo (current image is admin/images/oscommerce.gif?

Also, how do i add "Comments" on the page that i am viewing?

Thanks,
pete

kristin
10-22-2002, 07:01 PM
quickest fix would be to name your logo oscommerce.gif and overwrite the one that is there ;P

CutAndPaste01
01-10-2003, 11:06 AM
I used a utility called "Search & Replace" from <a href="http://www.funduc.com/">http://www.funduc.com/</a> :)

I just searched on "oscommerce.gif" in all folders in the unzipped package and it gave me a listing of all of the files.

My listing looked like:
=========

Search String: oscommerce.gif
Replace String:
Path: D:\OS Commerce
File Mask: *.txt;*.hlp;*.php
Search Subdirectories, Search ZIP Files, Case Sensitive

Processing file : D:\OS Commerce\catalog\install\templates\main_page\heade r.php
Line 16 - <td><img src="images/<oscommerce.gif>" border="0" alt="osCommerce"></td>
Found 1 occurrences.

Processing file : D:\OS Commerce\catalog\catalog\install\templates\pages\u pgrade_3.php
Line 149 - osc_db_query("insert into banners values (1, 'osCommerce', 'http://www.oscommerce.com', 'banners/<oscommerce.gif>', '468x50', '', 0, null, null, now(), null, 1)");
Found 1 occurrences.

Processing file : D:\OS Commerce\catalog\catalog\includes\header.php
Line 53 - <td valign="middle"><?php echo tep_image(DIR_WS_IMAGES . '<oscommerce.gif>', 'osCommerce'); ?></td>
Found 1 occurrences.

Processing file : D:\OS Commerce\admin\admin\index.php
Line 96 - <td height="50"><?php echo tep_image(DIR_WS_IMAGES . '<oscommerce.gif>', 'osCommerce', '204', '50'); ?></td>
Found 1 occurrences.

Processing file : D:\OS Commerce\admin\admin\invoice.php
Line 39 - <td class="pageHeading" align="right"><?php echo tep_image(DIR_WS_IMAGES . '<oscommerce.gif>', 'osCommerce', '204', '50'); ?></td>
Found 1 occurrences.

Processing file : D:\OS Commerce\admin\admin\packingslip.php
Line 38 - <td class="pageHeading" align="right"><?php echo tep_image(DIR_WS_IMAGES . '<oscommerce.gif>', 'osCommerce', '204', '50'); ?></td>
Found 1 occurrences.

Processing file : D:\OS Commerce\admin\admin\includes\header.php
Line 19 - <td><?php echo tep_image(DIR_WS_IMAGES . '<oscommerce.gif>', 'osCommerce', '204', '50'); ?></td>
Found 1 occurrences.

Processing file : D:\OS Commerce\tep-docs\documentation\templates\main_page.php
Line 24 - <td colspan="2"><img src="images/<oscommerce.gif>" border="0" alt="osCommerce"></td>
Found 1 occurrences.

Searched 571 file(s), found 8 occurrences in 8 file(s)
=========
Obviously your listing and line numbers will lokk different due to olocation on your PC and any edits you've done.

I then replaced "oscommerce.gif" with "sitelogo.gif" and now just have to put my new logo "sitelogo.gif" in the image folders.

Also by calling the logo "sitelogo.gif" (or sitelogo.jpg or sitelogo.png) I can use the same install package on another site without having to have the oscommerce name on the logo - I'd just have to call the new site's logo "sitelogo.gif".

Hope this helps....

Simon