Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

How to place a box that usually is in a side column elsewhere


yacpro13

Recommended Posts

Posted

Hello,

title says it all. I am trying to remove the bestseller box from the side column, but place them in the main area on the home page. I tried placing

 

include(DIR_WS_BOXES . 'best_sellers.php');

 

where

 

include(DIR_WS_MODULES . FILENAME_NEW_PRODUCTS);

 

is on the homepage, but that returned nothing. I notice one is a box, the other a module. How would I go about doing this?

 

 

Thanks!

Posted

Hello,

title says it all. I am trying to remove the bestseller box from the side column, but place them in the main area on the home page. I tried placing

 

include(DIR_WS_BOXES . 'best_sellers.php');

 

where

 

include(DIR_WS_MODULES . FILENAME_NEW_PRODUCTS);

 

is on the homepage, but that returned nothing. I notice one is a box, the other a module. How would I go about doing this?

 

 

Thanks!

In catalog/index.php FIND:

 

         <tr>
           <td class="main"><?php echo TEXT_MAIN; ?></td>
         </tr>

 

ADD BELOW:

 

         <tr>
           <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>
         </tr>
         <tr>
           <td class "main"><?php require(DIR_WS_BOXES . 'best_sellers.php'); ?></td>
         </tr>

 

Modify to your liking. To remove the Bestsellers box on the right column, in catalog/includes/column_right.php and FIND

 

    include(DIR_WS_BOXES . 'best_sellers.php');

 

REPLACE WITH:

 

//    include(DIR_WS_BOXES . 'best_sellers.php');

Archived

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

×
×
  • Create New...