Pink Posted January 18, 2005 Posted January 18, 2005 I'd like to remove two boxes/modules from the center column. One is "New Products for [current month]" which is apparently generated by the index.php file. The second is "Customers who bought this product also purchased" which is referenced in the product_info.php file. I tried commenting out the includes referencing these modules but ran into problems. If someone could help, I would be greatful. Thanks in advance. -Pink
qorn Posted January 18, 2005 Posted January 18, 2005 Try commenting the code out from near the bottom of the page, as I think it has 2 entrys within the index.php page. Kind Regards Dave My Contributions
Pink Posted January 18, 2005 Author Posted January 18, 2005 I tried what you suggested and the "New Products for..." box just doesn't want to go away. Thanks anyway. -Pink
qorn Posted January 18, 2005 Posted January 18, 2005 these are the lines you need to comment out: <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> Kind Regards Dave My Contributions
Pink Posted January 19, 2005 Author Posted January 19, 2005 The code Dave was kind enough to supply worked in eliminating the first box I wanted to get rid of (New Products for [current month]) in the index.php file. However, in editing out a similar reference to the "Customers who bought this product also purchased" module in the product_info.php file I receive messages like the one below. Parse error: parse error, unexpected $end in C:\apachefriends\xampp\htdocs\xampp\catalog\product_info.php on line 267 -Pink
Recommended Posts
Archived
This topic is now archived and is closed to further replies.