LaughingHorse Posted December 27, 2015 Share Posted December 27, 2015 (edited) I would like to remove the Featured Product and the Best Sellers from showing up on the cart.While doing that, I would like to preserve the spaces so in the future i have the ability put messages or whatever in those boxes/spaces.I'm guessing i would need to create two boxes that would be blank (for now) and replace the boxes in the template.Is this correct?If so, where do I find them, and what do I need to change code wise? I'm using CC6 and Foundation skinThank you in advance for your assistance. Edited December 27, 2015 by LaughingHorse Added cart versdion and skin Quote Link to comment Share on other sites More sharing options...
bsmither Posted December 27, 2015 Share Posted December 27, 2015 The space will still exist. (Sale Items show up in this right sidebar as well.) That area, <div id="sidebar_left">, will consume three of the twelve columns in the large view regardless if there is any content in it.In main.php:Find: <div class="large-3 columns show-for-large-up" id="sidebar_left"> {include file='templates/box.featured.php'} {include file='templates/box.popular.php'} {include file='templates/box.sale_items.php'} </div> Change to: <div class="large-3 columns show-for-large-up" id="sidebar_left"> <!-- {include file='templates/box.featured.php'} {include file='templates/box.popular.php'} {include file='templates/box.sale_items.php'} --> </div> 1 Quote Link to comment Share on other sites More sharing options...
LaughingHorse Posted December 27, 2015 Author Share Posted December 27, 2015 Thank You!I left the sale items active, so just commented out the first two boxes. Quote Link to comment Share on other sites More sharing options...
vickif Posted April 26, 2017 Share Posted April 26, 2017 (edited) I'm using 6.1.7 version, will that code work for this? Asking cuz few weeks ago I tried an "old" code for something else and it nuked the descriptions. If this won't work, what would to get rid of the Best Sellers feature? Or Rename it to something like "Quick Links" Edited April 26, 2017 by vickif Quote Link to comment Share on other sites More sharing options...
Dirty Butter Posted April 26, 2017 Share Posted April 26, 2017 You can certainly rename it in Languages>click on your flag, if that works for you. Yes, that section has not changed in 6.1.7, so you should be able to comment out any section you do not want. Again, if you comment all of them out, the sidebar space will still be there, unless you make grid changes as well. Quote Link to comment Share on other sites More sharing options...
vickif Posted April 26, 2017 Share Posted April 26, 2017 (edited) I just spent time looking for that under Languages, went thru all of the options but couldn't find it anywhere! Wait, never mind, found it!! Under phrases displayed with product inventory page. Changed and thank you! Edited April 26, 2017 by vickif Quote Link to comment Share on other sites More sharing options...
Dirty Butter Posted April 26, 2017 Share Posted April 26, 2017 It's in Catalogue>title_popular. Whenever I can't find which dropdown to use I goto the definitions.xml in the language folder and search for the term. Then I scroll up to see which section it's in. It's best NOT to make the change in the file, as your changes in admin Language are databased and not lost on upgrade. Quote Link to comment Share on other sites More sharing options...
difonzo Posted June 8, 2017 Share Posted June 8, 2017 is there a way to ONLY lose the featured product box on the product pages? Quote Link to comment Share on other sites More sharing options...
Dirty Butter Posted June 8, 2017 Share Posted June 8, 2017 Find this section in main.php and comment out (as shown) only what you want to remove it from all pages. <div class="large-3 columns show-for-large-up" id="sidebar_left"> {* {include file='templates/box.featured.php'} *} {include file='templates/box.popular.php'} {include file='templates/box.sale_items.php'} </div> If you want to keep the featured on some pages and not on others, I'm not sure how to do that. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.