How do you disable the "Sort BY" menu when view the product list

Started by nmadrid27, March 22, 2012, 20:41:34 PM

Previous topic - Next topic

nmadrid27

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.



JoomTut

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
http://www.joomtut.com - How to Joomla!
Joomla! & VirtueMart Pro Support.
http://www.joomtut.com/joomla-clip.html - 14 steps to creating a Joomla! website with video clip tutorials

Vejgaard

I have the same problem. The 4 lines are erase but thet are still there :(

JoomTut

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]
http://www.joomtut.com - How to Joomla!
Joomla! & VirtueMart Pro Support.
http://www.joomtut.com/joomla-clip.html - 14 steps to creating a Joomla! website with video clip tutorials

John2400


terp

...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. :)

nmadrid27

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.

Vejgaard

I have done this -> No succes

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>

JoomTut

If not work, please check: templates/YOUR_TEMPLATE_NAME/html/com_virtuemart/category/default.php
http://www.joomtut.com - How to Joomla!
Joomla! & VirtueMart Pro Support.
http://www.joomtut.com/joomla-clip.html - 14 steps to creating a Joomla! website with video clip tutorials

PRO