VirtueMart Forum

VirtueMart 2 + 3 + 4 => Administration & Configuration => Topic started by: nmadrid27 on March 22, 2012, 20:41:34 PM

Title: How do you disable the "Sort BY" menu when view the product list
Post by: nmadrid27 on March 22, 2012, 20:41:34 PM
I have looked all over the forums and some of the suggestions did not work. I have Joomla 2.5.3 and Virtuemart 2.02. How do I remove the Sort by drop down menu while view the product with in the category.?
Any help appreciated.

Title: Re: How do you disable the "Sort BY" menu when view the product list
Post by: krossi on April 05, 2012, 06:41:57 AM
I need this as well
Title: Re: How do you disable the "Sort BY" menu when view the product list
Post by: JoomTut on April 05, 2012, 07:07:42 AM
Do some hack in VM core
- Open file components/com_virtuemart/views/category/tmpl/default.php
- Find and delete:
<div class="width70 floatleft">
<?php echo $this->orderByList['orderby']; ?>
<?php echo $this->orderByList['manufacturer']; ?>
</div>


;D
Title: Re: How do you disable the "Sort BY" menu when view the product list
Post by: Vejgaard on April 05, 2012, 08:44:23 AM
I have the same problem. The 4 lines are erase but thet are still there :(
Title: Re: How do you disable the "Sort BY" menu when view the product list
Post by: JoomTut on April 05, 2012, 09:12:42 AM
Quote from: Vejgaard on April 05, 2012, 08:44:23 AM
I have the same problem. The 4 lines are erase but thet are still there :(
I have done in this way, see photo below:


[attachment cleanup by admin]
Title: Re: How do you disable the "Sort BY" menu when view the product list
Post by: John2400 on April 05, 2012, 10:01:44 AM
My solution,

It does work - with a 5 minutes of work
http://forum.virtuemart.net/index.php?topic=100623.0
Title: Re: How do you disable the "Sort BY" menu when view the product list
Post by: terp on April 05, 2012, 17:25:52 PM
...just saw this thread.  I guess I was not the only one interested in removing this.  It really should be a backend setting (hint, hint developers) and added to the SVN. :)
Title: Re: How do you disable the "Sort BY" menu when view the product list
Post by: nmadrid27 on April 05, 2012, 17:32:59 PM
Quote from: jtut on April 05, 2012, 07:07:42 AM
Do some hack in VM core
- Open file components/com_virtuemart/views/category/tmpl/default.php
- Find and delete:
<div class="width70 floatleft">
<?php echo $this->orderByList['orderby']; ?>
<?php echo $this->orderByList['manufacturer']; ?>
</div>


;D

thanks that did the trick.
Title: Re: How do you disable the "Sort BY" menu when view the product list
Post by: Vejgaard on April 05, 2012, 21:54:40 PM
I have done this -> No succes

http://nyside.sportscentret.dk/rulle-skojter/tilbud (http://nyside.sportscentret.dk/rulle-skojter/tilbud)


Do some hack in VM core
- Open file components/com_virtuemart/views/category/tmpl/default.php
- Find and delete:
Code: [Select]

<div class="width70 floatleft">
<?php echo $this->orderByList['orderby']; ?>
<?php echo $this->orderByList['manufacturer']; ?>
</div>
Title: Re: How do you disable the "Sort BY" menu when view the product list
Post by: JoomTut on April 06, 2012, 17:01:47 PM
If not work, please check: templates/YOUR_TEMPLATE_NAME/html/com_virtuemart/category/default.php
Title: Re: How do you disable the "Sort BY" menu when view the product list
Post by: PRO on April 06, 2012, 22:08:57 PM
dont change the original,

do a template override

http://forum.virtuemart.net/index.php?topic=90935.0