Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Change formatting of opening page


pkx

Recommended Posts

Posted

Is there an easy way to change the way the opening "Catalog" page looks? For example, I'd like to remove the "Manufacturers" section on the left and remove Languages & Reviews on the right..

 

..then move everything remaining on the right over to the left leaving more screen space for bigger thumbnails.

 

 

Thanks,

Kris

Posted

In order to remove boxes from your catalog, you simply need to delete the code from your catalog/includes/column_left.php and catalog/includes/column_right.php files. For example, if you want to erase the search option from the right side and put it on the left (or visa versa) simply erase

 

require(DIR_WS_BOXES . 'search.php');

 

from the side you don't want it to show anymore. Than paste this line of code to the according file.

 

If you want to completely eliminate the search function, simply erase the code.

 

Do this for whatever functions you do not want accessible to customers.

 

 

-Chris

Chris Sullivan

Posted

*delete* such a nasty word ... :wink:

 

Commenting out gives the chance to bring it back at a later time without a lot of fuss ... a few // go a long way in the column_left.php and column_right.php :D

Posted

Linda, good point.

 

Especially to those asking questions, nothing can be simpler than commenting out code to bring it back in the future. This means you don't have to know how to rewrite it.

 

-Chris

Chris Sullivan

Archived

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

×
×
  • Create New...