Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Changing default clip art for mine.


LordPG

Recommended Posts

Hi, Looking at the How do I....? Guide, I found this, however, I do not understand where to insert the name of my images.

 

20. How do I remove or change the osCommerce Account, Cart and Checkout clip art?

To remove them completely, find and delete this line from includes/header.php

 

 

CODE

<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>

 

 

or to change for your own, upload your clip art and change the image calls to your own or if you are using gifs, name yours the same as the stock ones.

 

Help is appreciated!

Link to comment
Share on other sites

Ok, I'll try to rephrase my question because i really need help here....please.

 

First, I went to /catalog/includes/languages/espanol (my default language is spanish)/images/buttons

 

there I uploaded the images that I want to use instead of the default clipart.

 

I then went to catalog/includes/header.php and found the following code. This is the way it is originally.

 

<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>

 

so I switched it to

 

<td align="right" valign="bottom"><?php echo '<a href="' . tep_href_link(FILENAME_ACCOUNT, '', 'SSL') . '">' . tep_image(DIR_WS_IMAGES . 'cuent.png', HEADER_TITLE_MY_ACCOUNT) . '</a> <a href="' . tep_href_link(FILENAME_SHOPPING_CART) . '">' . tep_image(DIR_WS_IMAGES . 'cart.png', 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>

 

But the only thing that happens is that the clip art dissappears.

 

P.S, in the actual code, I did not BOLD anything, I just did it here to help you guys see my changes.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...