Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Change store logo link


pcsohio

Recommended Posts

Hi.

 

I'd like to have the store logo link back to my main site rather than the shopping cart, like "Top" does.

I see in includes/header.php <a href="' . tep_href_link(FILENAME_DEFAULT) . '"> but don't know if there's a better place to change it or if I can simply edit that to <a href="mysite.com/index.htm">

 

Not knowing PHP yet, I'm not sure if that would totally blow things up.

 

TIA.

 

-Denny

OSC v2.3.1 Proud user since sometime last week.

Link to comment
Share on other sites

If you want to link to a page outside the store just use "good old fashioned" HTML. No php required.

 

And you've found the correct place to make the change.

:)

 

Just a small "caveat" I should mention.

 

If you link to a page outside the store and people use it after putting items in the cart you have the potential of losing the session thus dumping the cart/logging them out.

 

You'd just have to try it and see what happens.

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...