godson594 Posted October 18, 2005 Share Posted October 18, 2005 Hi there Could someone please tell me how to remove the best sellers off the right column all together? I dont want it at all and cant find what I need to take it off! Any help would be greatly appreciated! Thanks! Link to comment Share on other sites More sharing options...
Wendy James Posted October 18, 2005 Share Posted October 18, 2005 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 More sharing options...
godson594 Posted October 18, 2005 Author Share Posted October 18, 2005 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 More sharing options...
Wendy James Posted October 18, 2005 Share Posted October 18, 2005 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 More sharing options...
godson594 Posted October 18, 2005 Author Share Posted October 18, 2005 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 More sharing options...
Wendy James Posted October 18, 2005 Share Posted October 18, 2005 lol no problem. Glad I could help. :) Wendy James Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep. Link to comment Share on other sites More sharing options...
bugambilia Posted October 19, 2005 Share Posted October 19, 2005 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 More sharing options...
Wendy James Posted October 19, 2005 Share Posted October 19, 2005 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 More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.