Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Remove best sellers?


godson594

Recommended Posts

open catalog/includes/column_right.php and change

 

if ($check['count'] > 0) {

include(DIR_WS_BOXES . 'best_sellers.php');

} else {

include(DIR_WS_BOXES . 'product_notifications.php');

}

 

to

 

if ($check['count'] > 0) {

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

// } else {

include(DIR_WS_BOXES . 'product_notifications.php');

// }

 

that should do it, and leave it there incase you ever want to add it back in, in the future.

Wendy James

 

Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep.

Link to comment
Share on other sites

Thanks for such a quick response but when I go into includes and open column_right.php mine looks different. This is exactly what I have. ?!

 

Any ideas?

 

Thanks again!!!

 

 

<img src="logo.gif" width="800" height="80"><?php

/*

$Id: column_right.php,v 1.1 2003/09/08 19:26:22 jhtalk Exp jhtalk $

 

osCommerce, Open Source E-Commerce Solutions

http://www.oscommerce.com

 

Copyright © 2003 osCommerce

 

Released under the GNU General Public License

*/

 

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

 

// STS: ADD

$sts_block_name = 'columnleft2columnright';

require(STS_RESTART_CAPTURE);

// STS: EOADD

 

require(DIR_WS_BOXES . 'reviews.php');

 

// STS: ADD

$sts_block_name = 'reviewsbox';

require(STS_RESTART_CAPTURE);

 

?>

Link to comment
Share on other sites

Sorry, template system so not sure. More than likely if you look on your template html files you will see a code that looks something like $bestsellersbox I think. If you remove that the box should go away.

Wendy James

 

Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep.

Link to comment
Share on other sites

Sorry, template system so not sure. More than likely if you look on your template html files you will see a code that looks something like $bestsellersbox I think. If you remove that the box should go away.

 

 

THANK YOU SO MUCH! Thats was it I found the code in a template html file and removed it! I really appreciate it more than I can explain!!!

 

Thanks again!

 

 

And again thanks for the fast response you just saved my life =)

Link to comment
Share on other sites

Would like to know if this (the non template way) works for removing any of the other boxes like "review," "currency," "quick find" etc.

 

On a kind of related note, how can I move the boxes from the left hand column to the right?

 

Thanks,

Rachel

Link to comment
Share on other sites

Yup, add // before any of the lines for the boxes and that will stop them from showing up. To move them from one side to the other, just grab the line of code you want and move it :)

As long as you grab the whole line you should be fine.

Wendy James

 

Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...