Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

add HTML pages


ugurdal

Recommended Posts

Posted

I would like to add couple of HTML pages in catalog area insted of default main page . Any help appriciated.

 

Thanks

Posted

In your /catalog/includes/languages/[iNSERT YOUR LANGUAGE HERE]/index.php file, maybe something like this:

 

define('TEXT_MAIN', 'Welcome to <b>' . STORE_NAME . '</b>!<br>
Please click the links below to learn more:<br>
<br>
<a target="_blank" href="page1.html"><u>Information Page 1</u></a><br>
<a target="_blank" href="page2.html"><u>Information Page 2</u></a><br>
');

I think it's important to open the pages in a new window (that's done with the target="_blank" attribute) so they don't lose the session ID.

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 >

Posted
In your /catalog/includes/languages/[iNSERT YOUR LANGUAGE HERE]/index.php file, maybe something like this:

 

define('TEXT_MAIN', 'Welcome to <b>' . STORE_NAME . '</b>!<br>
Please click the links below to learn more:<br>
<br>
<a target="_blank" href="page1.html"><u>Information Page 1</u></a><br>
<a target="_blank" href="page2.html"><u>Information Page 2</u></a><br>
');

I think it's important to open the pages in a new window (that's done with the target="_blank" attribute) so they don't lose the session ID.

Posted

all I want is to put my HTML page in catalog section instead of their default page and I do not want to have link page

 

Thanks

Archived

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

×
×
  • Create New...