VirtueMart Forum

VirtueMart 2 + 3 + 4 => Administration & Configuration => Topic started by: django29 on November 28, 2011, 15:34:06 PM

Title: How to remove "sort by manufacturers" in a category display
Post by: django29 on November 28, 2011, 15:34:06 PM
Hello.

With Joomla 1.7.3 + VM 1.9.8 RC2M , how can I remove "Sort by manufacturers" and all the other sorting elements ?

It appears only for a subcategory, not for the top level category.

Title: Re: How to remove "sort by manufacturers" in a category display
Post by: Kangelova on November 28, 2011, 16:18:53 PM
You have to edit the default.php in category folder, which is inside tmpt folder of your com_virtuemart...but I am speaking by memory ( e/g/ I am not 100 % sure this was the file) ..I need to check how I did it. When I get back from work I can check it for you...
Title: Re: How to remove "sort by manufacturers" in a category display
Post by: alexsai on November 28, 2011, 22:00:25 PM
It must be here: com_virtuemart/views/category/tmpl/default.php
Title: Re: How to remove "sort by manufacturers" in a category display
Post by: django29 on November 29, 2011, 17:23:54 PM
Thanks Kangelova,

but I deleted all the code betwenn <!--BEGIN Search Box --> and <!-- End Search Box -->

=> No difference.
Title: Re: How to remove "sort by manufacturers" in a category display
Post by: Kangelova on November 29, 2011, 21:32:36 PM
Yes, it was tricky. I will give you my file if you wish, because it wasn't just that box...I remember editing it three times until i got rid of everything...
Title: Re: How to remove "sort by manufacturers" in a category display
Post by: PRO on November 29, 2011, 21:40:55 PM
you remove this

Sort by drop down
<div class="width70 floatleft">
         <?php echo $this->orderByList; ?>
      </div>


http://forum.virtuemart.net/index.php?topic=90935.0
Title: Re: How to remove "sort by manufacturers" in a category display
Post by: django29 on November 29, 2011, 22:44:01 PM
Thanks BanquetTables.pro, it works !
Title: Re: How to remove "sort by" in a category display
Post by: cpetitclerc73 on March 27, 2012, 15:18:32 PM
I too am having this problem.

Is there a way to delete sort by in Virtumart 2.0.2 / Joomla 2.5.3?
I see in other forums to delete some code:
Code:
<div class="width70 floatleft">
         <?php echo $this->orderByList; ?>
      </div>

in the com_virtuemart/views/category/tmpl/default.php page but this code does not appear in the newest version of virtumart 2.0.2 .
Title: Re: How to remove "sort by manufacturers" in a category display
Post by: nmadrid27 on March 27, 2012, 15:47:10 PM
Same here I have 2.02 and looked in various files and cant find it. I posted it earlier and didn't get a response.  any help?
Title: Re: How to remove "sort by manufacturers" in a category display
Post by: brenwa on April 20, 2012, 03:20:33 AM
Just giving this a bump.....

I also need to know how to do this in the latest greatest version of VM (2.06)