Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Help editing Left and Right Column php


Mike-USA

Recommended Posts

Posted

Hello, I am New to this osCommerce and I know nothing about script codes, just copy/paste and change some text within. :wacko:

I am trying to customize osCommerce, make it more simple without a lot of their unneeded items.

No product images are needed, I think I have deleted that completely.

 

STEP ONE:

I only need the following.

Left Column:

1. Categories

2. Manufactures REMOVE

3. What's New

4. Quick Find REMOVE

5. Information REMOVE

 

ADD: Shopping Cart

ADD: Reviews

 

Move below Right Column boxes to bottom of Left Column:

1. Shopping Cart

2. Reviews

 

REMOVE Right Column

 

Center (index page) to expand into the Right Column area.

 

As to the Shopping Cart box, I do not need (wish to remove):

1. manufacture_info.php

2. product_notifications.php

3. best_sellers.php

4. tell_a_friend.php

5. specials.php

 

Thanks ;) Mike

Posted

Hi Mike you can disable or add stuff in: left_column.php and right_column.php (which are stored in the includes folder)

 

I did this in my left_column file:

 

// require(DIR_WS_BOXES . 'shopping_cart.php');

 

if ((USE_CACHE == 'true') && empty($SID)) {

echo tep_cache_categories_box();

} else {

include(DIR_WS_BOXES . 'categories.php');

}

 

// require(DIR_WS_BOXES . 'whats_new.php');

// require(DIR_WS_BOXES . 'search.php');

// require(DIR_WS_BOXES . 'information.php');

 

 

The // will make the following line text (but only a single line, it won't do multiple lines). So in the above example only the category box will display. Just remove the // to make the other things appear.

 

This link has information on how to remove the right column:

http://www.oscommerce.info/kb/osCommerce/C...g_Area/Boxes/65

 

This link gives you a controller you would have to add in, I havent tried it so don't know if it works properly or not:

http://www.oscommerce.com/community/contributions,169/

Archived

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

×
×
  • Create New...