Jacson Posted January 15, 2005 Posted January 15, 2005 I know someone has done this but I can't find it. How can I remove the "New products" box from showing on every page? It seems to be there under the product or catagory listings and i would rather not display this catagory at all. Thanks! Jac
ozcsys Posted January 15, 2005 Posted January 15, 2005 I know someone has done this but I can't find it. How can I remove the "New products" box from showing on every page? It seems to be there under the product or catagory listings and i would rather not display this catagory at all. Thanks! Jac <{POST_SNAPBACK}> It is in your index.php file <tr> <td><?php include(DIR_WS_MODULES . FILENAME_NEW_PRODUCTS); ?></td> </tr> The Knowledge Base is a wonderful thing. Do you have a problem? Have you checked out Common Problems? There are many very useful osC Contributions Are you having trouble with a installed contribution? Have you checked out the support thread found Here BACKUP BACKUP BACKUP!!! You did backup, right??
Guest Posted January 15, 2005 Posted January 15, 2005 Hi Jac, There are 2 of the above codes in index.php One is for your home page and the other is for categories page. (Keep in mind that index.php actually contain 3 different pages.)
Jacson Posted January 15, 2005 Author Posted January 15, 2005 Thanks both of you - I found the line, there is actaully three references in the index.php file but what do i do with it? Comment it out or remove it? I tried commenting all three lines but I get a nasty bunch of errors. Thanks again!
Jacson Posted January 15, 2005 Author Posted January 15, 2005 never mind - I got it - I was looking at the wrong line (PRODUCT LISTING) instead of NEW product . I just commented out the one line, so now the new products box is on the home/catalog page but not the catagories page. Interesting though, the new products box only showed up on the "sample" catagory headings that came out of the box, it was NOT showing up on any NEW catagories I was adding. Know why? Jac
Guest Posted January 15, 2005 Posted January 15, 2005 There should only be 2 of them in the entire store (on unmodified, fresh installation) Here is how to comment them out. <td><?php include(DIR_WS_MODULES . FILENAME_NEW_PRODUCTS); ?></td> to <td><?php //include(DIR_WS_MODULES . FILENAME_NEW_PRODUCTS); ?></td> Sorted. :thumbsup:
Jacson Posted January 15, 2005 Author Posted January 15, 2005 Ok - got it, like I said in the above fast reply. Thanks for following me!
Guest Posted January 15, 2005 Posted January 15, 2005 Ok - got it, like I said in the above fast reply. Thanks for following me! <{POST_SNAPBACK}> Good luck, post the link to your site in this forum when you're done. You'll get plenty of tips&tricks and suggestions. B)
Recommended Posts
Archived
This topic is now archived and is closed to further replies.