Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Taking new products off every page but front page


HighHobbies.com

Recommended Posts

What about just on other pages besides the main page making the categories images and the new products separated more..

 

 

Now:

 

PICTURE PICTURE PICTURE

_______________________________________

NEW ITEMS FOR JANUARY

_______________________________________

 

 

How do I make it:

 

PICTURE PICTURE PICTURE

 

 

 

_______________________________________

NEW ITEMS FOR JANUARY

_______________________________________

Link to comment
Share on other sites

Hi Folks,

 

I wonder how I can change manualy the "New Products in ...(for ex. January)".

Any Idea? Wich date should I change ?

 

Just want to push some products that I want to sell more than other ones.

 

(I already update my database with .csv, that means that every products have the same dates...)

 

Thanks

Link to comment
Share on other sites

What about just on other pages besides the main page making the categories images and the new products separated more..

 

 

Now:

 

PICTURE PICTURE PICTURE

_______________________________________

NEW ITEMS FOR JANUARY

_______________________________________

 

 

How do I make it:

 

PICTURE PICTURE PICTURE

 

 

 

_______________________________________

NEW ITEMS FOR JANUARY

_______________________________________

Any ideas? The one idea that guy had, I didnt get where to put what...

 

Any help would be greatly appretiated.

Link to comment
Share on other sites

See...the index page is actually the same page that is used for the category listings...thats why you get teh New Products for <month> listed on the other pages. Its not until you go to the individual item pages that you get a fresh page called product_info.php.

The index page is "re-used" as the category page and re-written in the browser by the script.

That's why there are two instances of

<?php if ($HTTP_GET_VARS['cPath']=='') include FILENAME_NEW_PROD....?>

By commenting out the first one, which you do by adding //-- to the beginning of each line you want to comment out, you prevent the New Products for <month> box from being included when the page is rewritten for the categories....if you follow that.

 

Now, to do this:

Now:

 

PICTURE PICTURE PICTURE

_______________________________________

NEW ITEMS FOR JANUARY

_______________________________________

 

 

How do I make it:

 

PICTURE PICTURE PICTURE

 

 

 

_______________________________________

NEW ITEMS FOR JANUARY

_______________________________________

you will need to add this line:

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

at or around line 320 in catalog/index.php, just before

<tr>
           <td><?php include(DIR_WS_MODULES . FILENAME_NEW_PRODUCTS); ?></td>
         </tr>

This basically adds a blank row to the table that makes up the main page, giving you blank space between elements.

Do this as many times as you need to get the space you require, save the page, upload to server.

 

As always, back up before making any changes.

 

HTH

Link to comment
Share on other sites

Sorry...I thought you still wanted it on the front page.

 

Just remove both instances of

<?php if ($HTTP_GET_VARS['cPath']=='') include FILENAME_NEW_PROD....?>

from catalog/index.php by either commenting out, or deleting completely.

 

To fix the width of your site, there is a mod avaiable in "Contributions" called "center Shop" ... it allows you to specify the width of the table. you can get it here...

osC-CenterShop v2.1 for MS2.2

 

HTH

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...