Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Change the osCommerce Logo


Jayson Wonder

Recommended Posts

Hi,

 

I have no problem to change the osCommerce logo but how do I change the URL?

 

This is the code:

<td valign="middle"><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image(DIR_WS_IMAGES . 'logo.jpg', 'My Store') . '</a>'; ?></td>

 

I am not a PHP pro but I think I could do it by hard coding a link there instead of : <a href="' . tep_href_link(FILENAME_DEFAULT) . '">

 

But is there a place where I can change the variable for tep_href_link(FILENAME_DEFAULT) instead?

 

Thanks,

Link to comment
Share on other sites

Thank you!

 

Actually now that I look at it I see that the value for that variable is index.php. I am wondering what or if anything else will break by changing this. Basically I replaced the logo with my conpany logo but if someone clicks on it it takes them back to the store root. Since they are already in the store if they click that logo, I want to send them back to the site root / index.html page.

 

Any suggestions?

Link to comment
Share on other sites

You can hard code it but this will lose the session meaning anyone logged in with stuff in their cart will lose everything. Install this to keep the session going outside of the store:

 

http://www.oscommerce.com/community/contributions,3257

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...