Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Trying to get rid of products on the front page..


RockyRaccoon

Recommended Posts

Posted

Alright, like here:

 

http://www.increaseyourportion.com/ub/index.php

 

See all those products at the bottom of the index?

 

How can I make them go away/not appear at all? I've looked and looked and I can't quite figure this one out.

 

Thanks in Advance!

 

~Daniel.

 

Hi Daniel

 

I think you are using some module in that page. Can you show up the code of index.php file ?

 

Cheers,

Shiva

Our truest life is when we are in dreams awake.

-- Henry David Thoreau --

Posted

Hi Daniel

 

I think you are using some module in that page. Can you show up the code of index.php file ?

 

Cheers,

Shiva

 

Which one? The Main Index.php? or the Index.php in the Includes/English/Language folder? I'll assume you meant the 'Main' one... I AM using the Simple Template System, however.

 

(Code Removed because FIMBLE Below gave me the fix!)

Posted

Alright, like here:

 

http://www.increasey...om/ub/index.php

 

See all those products at the bottom of the index?

 

How can I make them go away/not appear at all? I've looked and looked and I can't quite figure this one out.

 

Thanks in Advance!

 

~Daniel.

 

 

Open catalog / index.php

Search for

<?php include(DIR_WS_MODULES . FILENAME_NEW_PRODUCTS); ?>

There are a few of them in the file

change it to

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

Nic

Sometimes you're the dog and sometimes the lamp post

[/url]

My Contributions

Posted

Open catalog / index.php

Search for

<?php include(DIR_WS_MODULES . FILENAME_NEW_PRODUCTS); ?>

There are a few of them in the file

change it to

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

Nic

 

 

That did it! Thanks a Ton, Fimble!

Posted

stil better.. why not remove the whole section:

 

<tr>

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

</tr>

<tr>

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

</tr>

<?php

include(DIR_WS_MODULES . FILENAME_UPCOMING_PRODUCTS);

?>

 

 

Cheers

Shiva

Our truest life is when we are in dreams awake.

-- Henry David Thoreau --

Posted

how about line 121 cant do that there,

Also by commenting it out it leaves the option to re-enable it at a time in the future that you might want it to show again.

Nic

 

 

Sometimes you're the dog and sometimes the lamp post

[/url]

My Contributions

Posted

how about line 121 cant do that there,

Also by commenting it out it leaves the option to re-enable it at a time in the future that you might want it to show again.

Nic

 

Sure Nic :).. It all depends on how the store owner wants it. Just wanted to avoid extra code coming in every time the page loads. Explaining the commenting of the whole section may be confusing to the novice, hence the suggestion of removal.

 

Cheers

Shiva

Our truest life is when we are in dreams awake.

-- Henry David Thoreau --

Posted

how about line 121 cant do that there,

Also by commenting it out it leaves the option to re-enable it at a time in the future that you might want it to show again.

Nic

 

<-- This. Yeah, The Guy I did the site for just wanted that disabled until he could get pictures for all his products.

Archived

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

×
×
  • Create New...