Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

How can I Link to External Homepage?


ossum

Recommended Posts

Hi,

 

I wonder if anyone can explain how it would be possible to re-route the "Home" link in the navigation bar to an external website outside the catalog. I have my oscommerce catalog setup on a subdomain, and would like the entry point to be the actual domain where I have my main homepage. I've looked through many of the forums and there are a couple of similar inquiries, but I can't find an easy explanation of how to modify the code to set up a simple link to an external site.

 

Thank You

Link to comment
Share on other sites

/catalog/includes/application_top.php

 

  $breadcrumb->add(HEADER_TITLE_TOP, HTTP_SERVER);

Alter to something like:

 

  $breadcrumb->add(HEADER_TITLE_TOP, 'http://your_main_domain.com');

Always backup before making edits!

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

Thanks a million, germ,

 

I knew it had to be something simple like that... I was on the right track, I just didn't have the correct syntax. It works great now.

Link to comment
Share on other sites

  • 8 months later...

$breadcrumb->add(HEADER_TITLE_TOP, 'http://OUTLETSPORTHD.Ro');

$breadcrumb->add(HEADER_TITLE_CATALOG, 'http://OUTLETSPORTHD.Ro');

 

And it"s not working , any idee why ?

Link to comment
Share on other sites

$breadcrumb->add(HEADER_TITLE_TOP, 'http://OUTLETSPORTHD.Ro');

$breadcrumb->add(HEADER_TITLE_CATALOG, 'http://OUTLETSPORTHD.Ro');

 

And it"s not working , any idee why ?

The template you're using doesn't support it.

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

And there isn't a way to fix it ?

Redesign your template.

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