Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Problem getting rid of "New Products for..."


Pink

Recommended Posts

Posted

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

Posted

I tried what you suggested and the "New Products for..." box just doesn't want to go away.

 

Thanks anyway.

 

-Pink

Posted

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

Posted

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

Archived

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

×
×
  • Create New...