Author Topic: [SOLVED] How to remove Sort By?  (Read 7893 times)

Nocktis

  • Beginner
  • *
  • Posts: 19
[SOLVED] How to remove Sort By?
« 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!

PRO

  • Global Moderator
  • Super Hero
  • *
  • Posts: 10437
  • VirtueMart Version: 3+
Re: How to remove Sort By?
« Reply #1 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



Nocktis

  • Beginner
  • *
  • Posts: 19
Re: How to remove Sort By?
« Reply #2 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

drizzt99

  • Jr. Member
  • **
  • Posts: 89
Re: [SOLVED] How to remove Sort By?
« Reply #3 on: October 24, 2011, 13:59:58 pm »
Hi,
How do I remove ONLY the manufacturer and leave the sort by?

spyderwoman

  • Beginner
  • *
  • Posts: 46
    • SpyderWoman, LLC
Re: [SOLVED] How to remove Sort By?
« Reply #4 on: October 24, 2011, 19:25:39 pm »
I also need to only remove manufacturer...

johnnyboy_31

  • Beginner
  • *
  • Posts: 14
Re: How to remove Sort By?
« Reply #5 on: January 10, 2012, 21:16:12 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

BASiK

  • Beginner
  • *
  • Posts: 6
Re: [SOLVED] How to remove Sort By?
« Reply #6 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]