Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Changing "specials" page


altereco

Recommended Posts

Posted

Hi, I am very new to php (actually dont know much at all) but I am familiar with html. Is there any way that I can make the "Specials" and "What's New" pages into some kind of an html text page? I don't want any products on these pages, I would just like to have text that explains my service.

Thanks!

Posted

Might be better to use the about_us.php page.

 

There are several add-ons that add more pages anywhere.

 

HTH

 

G

Need help installing add ons/contributions, cleaning a hacked site or a bespoke development, check my profile

 

Virus Threat Scanner

My Contributions

Basic install answers.

Click here for Contributions / Add Ons.

UK your site.

Site Move.

Basic design info.

 

For links mentioned in old answers that are no longer here follow this link Useful Threads.

 

If this post was useful, click the Like This button over there ======>>>>>.

Posted

What woudl be the process to do that? I dont know if there is a way to do it with out much php coding, but if there is some kind of template about_us.php I could use that would be great. also, is there any way to just delete all of the php code in the specials.php and just input php so that the page just displays an image?

Posted

The easiest way to do this, I found, is to create whatever html page you want, and store it at your catalog root. For example, let's call it welcome.html

 

Then find a section of code in your index.php that looks like this (about 3/4 of the way down.)

 

<?php
 } else { // default page
?>
   <td width="100%" valign="top"><table border="0" width="100%" cellspacing="0" cellpadding="0">
     <tr>
       <td>

<?php require('includes/welcome.php');?>

</td>
     </tr>
     <tr>
       <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>

 

You can see that in mine I used welcome.php and stored it in the includes directory, not an html page in root, but they would work the same.

 

In your page do not use any headers, titles, or meta tags. Just use formating html code.

 

The original osC code probably has something else there, a products_new.php or something. I don't remember what.

 

Just remember to make backups of anything before you change it so you can put it back if you make a coding error.

Community Bootstrap Edition, Edge

 

Avoid the most asked question. See How to Secure My Site and How do I...?

Posted

And another thing...from the questions you are asking it sounds like you have not done anything in the way of security. If you do not install the security add-on found in the topic "How to secure my site" (see signature) then you will eventually get hacked. Forget pretty....do security.

Community Bootstrap Edition, Edge

 

Avoid the most asked question. See How to Secure My Site and How do I...?

Archived

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

×
×
  • Create New...