Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Archived

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

Guest

Remove 'New Products for...' box

Recommended Posts

Guest

Which files do I edit to remove the 'New Products for...' box?

 

I've removed the box from the index page but I get the box in subcategory pages. Which file do I edit to remove these also?

 

Any assistance would be greatly appreciated.

Share this post


Link to post
Share on other sites

Page 31 of the documentation covers adding and removing boxes.


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

Share this post


Link to post
Share on other sites
Guest
Page 31 of the documentation covers adding and removing boxes.

 

Yes it does but unfortunately it only advises regarding column_left and column_right. These columns do not house the 'New Products for (current month)' box.

 

Does anyone out there know which file I edit to remove the box in question. I've already managed to get rid of it from the index page but when I access any category it appears at the bottom.

Share this post


Link to post
Share on other sites
Yes it does but unfortunately it only advises regarding column_left and column_right. These columns do not house the 'New Products for (current month)' box.

 

Does anyone out there know which file I edit to remove the box in question. I've already managed to get rid of it from the index page but when I access any category it appears at the bottom.

Monty,

 

:thumbsup: I personally like the Featured Products contribution which replaces the New Products for Month box with a Featured Products box (or whatever you decide to name it) that allows complete control over the items (or no items) in that box.

 

You said you already made the edits in the index file but I will list them just in case you missed something:

 

To remove the "new products for" box...

 

In index.php

 

 

1. About line 121 (for the category pages..)

 

Remove:

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

 

2. About line 313 (for the front page...)

 

Remove:

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

 

Hope you find this helpful,


Bill Kellum

 

Sounds Good Productions

STS Tutorials & more: STSv4.6, STS Add-ons (STS Power Pack), STS V4 Forum STS Forum FREE TEMPLATE

Share this post


Link to post
Share on other sites
Guest
Hope you find this helpful,

 

Yes! Very much so! :thumbsup:

 

I had removed the code from around line 313 but had neglected to remove the code from around line 121. I never realised both paths were in the same file.... Doh! :lol:

 

Thanks Bill. I can stop going square-eyed and insane trying to find the answer.

Share this post


Link to post
Share on other sites

×