Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Remove Icons


wancy

Recommended Posts

Hi,

 

 

[1] May i know how to remove the icon next to 'What's New Here' in the main page?

 

[2] May i know how to replace (at which php file) the icons of : My Account, Cart Content & Checkout which reside on the right of the main page?

 

I'm just start to use osCommerce. Please help.

 

Thanks & Regards,

wancy

Link to comment
Share on other sites

Hi,

 

 

[1] May i know how to remove the icon next to 'What's New Here' in the main page?

 

[2] May i know how to replace (at which php file) the icons of : My Account, Cart Content & Checkout which reside on the right of the main page?

 

I'm just start to use osCommerce. Please help.

 

Thanks & Regards,

wancy

Look for catalog/index.php

And in there you'll find

<?php echo tep_image(DIR_WS_IMAGES . $category['categories_image'], $category['categories_name'], HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT); ?>

There are 3 different image specifications depending on what the index page is doing. The above text is on line 74.

Matt

oscommerce_community_forums.gif
Link to comment
Share on other sites

  • 2 weeks later...

Hi,

 

What should i do in the line 74? Should i just delete it or comment it? Coz i just comment the whole line and my site still reflect no changes? The icons is still on the site.

 

Please advice.

 

Thanks.

Link to comment
Share on other sites

Hi,

 

I have find my way to remove the My Account, Shopping Cart & Checkout header images. I just remove the following lines from /catalog/includes/header.php :

 

<td align="right" valign="bottom"><?php echo '<a href="' . tep_href_link(FILENAME_ACCOUNT, '', 'SSL') . '">' . tep_image(DIR_WS_IMAGES . 'header_account.gif', HEADER_TITLE_MY_ACCOUNT) . '</a>  <a href="' . tep_href_link(FILENAME_SHOPPING_CART) . '">' . tep_image(DIR_WS_IMAGES . 'header_cart.gif', HEADER_TITLE_CART_CONTENTS) . '</a>  <a href="' . tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL') . '">' . tep_image(DIR_WS_IMAGES . 'header_checkout.gif', HEADER_TITLE_CHECKOUT) . '</a>'; ?>  </td>

 

I'm still finding a way to remove the image next to What's New Hew....

 

Thanks

Link to comment
Share on other sites

It is embedded in Catalog/index.php

 

Open in text editor and find the following line using keyword - table_background_default.gif

<td class="pageHeading" align="right"><?php echo tep_image(DIR_WS_IMAGES . 'table_background_default.gif', HEADING_TITLE, HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT); ?></td>

 

You may take out

<?php echo tep_image(DIR_WS_IMAGES . 'table_background_default.gif', HEADING_TITLE, HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT); ?>

& replace with a   to remove the pic.

 

HTH

Best Regards,
Gaurav

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...