News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

Turn off Product filter drop down

Started by Fintan, October 03, 2012, 10:54:23 AM

Previous topic - Next topic

Fintan

I would like to get rid of the product sorting filter drop down in category view on the site.

Have searched for this but couldn't find anything.

any ideas?

Vmart 2.0.11d, joomla 2.5.7

K&K media production

Make a override and delete this or comment out:

<div class="orderby-displaynumber">
<div class="width70 floatleft">
<?php echo $this->orderByList['orderby']; ?>
<?php echo $this->orderByList['manufacturer']; ?>
</div>
<div class="width30 floatright display-number"><?php echo $this->vmPagination->getResultsCounter();?><br/><?php echo $this->vmPagination->getLimitBox(); ?></div>
<div class="vm-pagination">
<?php echo $this->vmPagination->getPagesLinks(); ?>
<span style="float:right"><?php echo $this->vmPagination->getPagesCounter(); ?></span>
</div>

<div class="clear"></div>
</div>

Fintan

I don't want to seem stupid, but where doe I find:
Quote<div class="orderby-displaynumber">

and where do I make the override?

bytelord

Hello,

the override took place inside category/default.php inside your custom vm template (probably under your_joomla_folder/templates/your_joomla_template/html/com_virtuemart/category/default.php).

If you have not overrides take a look here to understand them and how to create them.

http://forum.virtuemart.net/index.php?topic=98505.0
http://dev.virtuemart.net/projects/virtuemart/wiki/Hints_for_the_use_of_the_template_system

Regards
Production: Joomla 2.5.8 | VM 2.0.14 | PHP 5.3.13
Testing     : Joomla 2.5.8 | VM 2.0.16 | PHP 5.3.8
Testing     : Joomla 2.5.8 |    VM 2.1   | PHP 5.3.8

- Don't Forget to mark thread as solved when it is solved!
- Please do not PM with support questions, use the forum!