Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

How to remove boxes...


dunlavy

Recommended Posts

Hello,

 

This is a very noobish question, but is there any way to remove "Manufacturer," "Tell a Friend," and "Review" boxes from the pages? Well, short of modding the code? I'd rather not mess with the osCommerce code too drastically.

 

I know you probably don't get too many questions about how to cripple osCommerce, but I really don't want these features on what is to be a simple site.

 

Thanks a lot in advance, and THANKS for osCommerce. Great product. :)

 

Addendum: Oh, also, is there any way to pick which column the info boxes load from with the Admin panel?

Link to comment
Share on other sites

Its easy enough to delete boxes, and i think there is acontribution to do what you require. If you do a search for infoboxes in these forums you will find your answer. It has been asked many times before.

 

Search the contributions area for the same, and take a look at the results.

REMEMBER BACKUP, BACKUP AND BACKUP

Link to comment
Share on other sites

Hello,

 

This is a very noobish question, but is there any way to remove "Manufacturer," "Tell a Friend," and "Review" boxes from the pages?  Well, short of modding the code?  I'd rather not mess with the osCommerce code too drastically.

 

I know you probably don't get too many questions about how to cripple osCommerce, but I really don't want these features on what is to be a simple site.

 

Thanks a lot in advance, and THANKS for osCommerce.  Great product.  :)

 

Addendum:  Oh, also, is there any way to pick which column the info boxes load from with the Admin panel?

 

There is no way to do this in Admin panel.

 

In your case, there's no need to write any codes. Just comment off the features you do not want. It's as simple as that.

 

There're only two files you need to look into. Both of these files reside in catalog/includes directory. The one that controls the right column is column_right.php, and for the left column column_left.php.

 

Simply open up these files with a text editor like windows notepad.

 

For example, to remove the manufacturer box, open column_left.php and comment the relevent line with // as shown below:

 

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

 

To remove reviews, open colum_right.php and comment the line:

 

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

 

I hope you get the idea. :blush:

Link to comment
Share on other sites

I realize how dumb the question must appear. I have a content contributor who will be wanting to change certain aspects of the site over time, and I don't want THEM touching the code.

 

Lol. C'est la vie!

 

My biggest gripe about osCommerce is the table drawing class. It's a little rigid if you want to customize the crap out of the tables with different CSS and some Photoshop elements. But, modularity comes first in a project such as this.

 

BTW, you guys are doing some great work here.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...