Num85 Posted July 18, 2008 Posted July 18, 2008 How can oscommerce stores be edited so that the 'New Products for Month' listing is no longer displayed on category/product pages such as this one I would like to remove all instances of this to focus more on the featured products that I have placed on the site.
Num85 Posted July 18, 2008 Author Posted July 18, 2008 The area in question is at the bottom with header 'New products for July'
Guest Posted July 18, 2008 Posted July 18, 2008 Hi, Depending on which 'featured products' contribution you have installed, in most cases the featured products contributions replace the new products box. Some contributions have alternate code to allow you to edit whether to display only featured products or both featured products and new products. The one I usually use is: http://addons.oscommerce.com/info/651 Good luck Chris
Guest Posted July 18, 2008 Posted July 18, 2008 Go at catalog->index.php and find this code at near the bottom(at line 311). include(DIR_WS_MODULES . FILENAME_NEW_PRODUCTS); then replace to this code #include(DIR_WS_MODULES . FILENAME_NEW_PRODUCTS); and you're done
Num85 Posted July 20, 2008 Author Posted July 20, 2008 Thanks for the replies, I had removed the section in question from index.php however it also appears on the category pages. Looking at the source code being generated client side it gives the following: <!-- new_products //--> <table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td height="14" class="contentBoxHeading"><img src="images/contentBox/corner_left.gif" width="11" height="14" border="0" alt=""></td> <td height="14" class="contentBoxHeading" width="100%">New Products For July</td> <td height="14" class="contentBoxHeading"><img src="images/contentBox/corner_right_left.gif" width="11" height="14" border="0" alt=""></td> </tr> </table> <table border="0" width="100%" cellspacing="0" cellpadding="1" class="contentBox"> <tr> <td><table border="0" width="100%" cellspacing="0" cellpadding="4" class="contentBoxContents"> </table> </td> </tr> </table> <!-- new_products_eof //--> Not too sure which file needs to be edited to remove this.
spooks Posted August 6, 2008 Posted August 6, 2008 There are 2 of <td><?php include(DIR_WS_MODULES . FILENAME_NEW_PRODUCTS); ?></td> in index, remove both. Sam Remember, What you think I ment may not be what I thought I ment when I said it. Contributions: Auto Backup your Database, Easy way Multi Images with Fancy Pop-ups, Easy way Products in columns with multi buy etc etc Disable any Category or Product, Easy way Secure & Improve your account pages et al.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.