VirtueMart Forum

VirtueMart 2 + 3 + 4 => Templating & Layouts => Topic started by: Nocktis on October 11, 2011, 19:24:37 PM

Title: [SOLVED] How to remove Sort By?
Post by: Nocktis on October 11, 2011, 19:24:37 PM
Hello everyone, I'm looking for a way to remove the "Sort By" and "Manufacturer" drop downs at the top of a category.  My shopping cart will not be taking advantage of these features to it makes no sense for them to be displayed.  Thanks for any info!
Title: Re: How to remove Sort By?
Post by: PRO on October 11, 2011, 19:37:56 PM
<div class="width70 floatleft">
         <?php echo $this->orderByList; ?>
      </div>

views/category/default.php

MAKE sure to either use a template override. OR use a different file than default.php


Title: Re: How to remove Sort By?
Post by: Nocktis on October 11, 2011, 19:42:34 PM
Man I must have looked at that file 20 times.  Not sure how I missed that!  Hah!  Thanks! :D
Title: Re: [SOLVED] How to remove Sort By?
Post by: drizzt99 on October 24, 2011, 13:59:58 PM
Hi,
How do I remove ONLY the manufacturer and leave the sort by?
Title: Re: [SOLVED] How to remove Sort By?
Post by: spyderwoman on October 24, 2011, 19:25:39 PM
I also need to only remove manufacturer...
Title: Re: How to remove Sort By?
Post by: johnnyboy_31 on January 10, 2012, 21:16:12 PM
Quote from: BanquetTables.pro on October 11, 2011, 19:37:56 PM
<div class="width70 floatleft">
         <?php echo $this->orderByList; ?>
      </div>

views/category/default.php

MAKE sure to either use a template override. OR use a different file than default.php

Hi, is this the only way to remove "sort by"? 

I am not used to hacking in php

Thanks,

John
Title: Re: [SOLVED] How to remove Sort By?
Post by: BASiK on February 15, 2012, 18:42:05 PM
http://forum.virtuemart.net/index.php?topic=92840.0

This is how to remove only the manufacturer  [for future reference for others who visit this page like me]