Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

How to Remove the "New Products" Box ?


datoupee

Recommended Posts

Posted

How do you remove the "New Products for (Month)" box on the main page of the store ? I have been looking everywhere with no progress over the past 2 weeks.

 

Also, I have been trying to remove the newsletter signup box on the "Create Account" page with no luck. Every time I try to comment it out I seem to only remove the checkbox and not the style box around it.

Posted

          <tr>
           <td><?php include(DIR_WS_MODULES . FILENAME_NEW_PRODUCTS); ?></td>
         </tr>

for the new products box.

      <tr>
       <td class="main"><b><?php echo CATEGORY_OPTIONS; ?></b></td>
     </tr>
     <tr>
       <td><table border="0" width="100%" cellspacing="1" cellpadding="2" class="infoBox">
         <tr class="infoBoxContents">
           <td><table border="0" cellspacing="2" cellpadding="2">
             <tr>
               <td class="main"><?php echo ENTRY_NEWSLETTER; ?></td>
               <td class="main"><?php echo tep_draw_checkbox_field('newsletter', '1') . ' ' . (tep_not_null(ENTRY_NEWSLETTER_TEXT) ? '<span class="inputRequirement">' . ENTRY_NEWSLETTER_TEXT . '</span>': ''); ?></td>
             </tr>
           </table></td>
         </tr>
       </table></td>
     </tr>
     <tr>
       <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>
     </tr>

is the whole section to remove to get rid of the newsletter signup.

 

Hth,

Matt

Always back up before making changes.

Archived

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

×
×
  • Create New...