How to remove the Display # of Products section in VirtueMart

The "Display # of Products" area along with the corresponding drop-down menu can be removed by editing thecomponents/com_virtuemart/themes/default/templates/browse/includes/browse_pagenav.tpl.php file.

Delete the following lines:

<?php 
    if( $show_limitbox ) { ?>
        <br/><br/>
        <form action="<?php echo $search_string ?>" method="post">
            <?php echo $VM_LANG->_('PN_DISPLAY_NR') ?>&nbsp;&nbsp;
            <?php $pagenav->writeLimitBox( $search_string ); ?>
            
            <noscript><input class="button" type="submit" value="<?php echo $VM_LANG->_('PHPSHOP_SUBMIT') ?>" /></noscript>
        
        </form>
    <?php
    }
    $pagenav->writePagesCounter();
    ?>

Additionally, the default list value in the drop-down menu can be altered from the Joomla administrator area->Site->Global Configuration->List Length.

You need help with a shopping cart? hostlantern is specialized in eCommerce hosting and provides expert support for a large number of shopping carts. Check out our shopping cart hosting services!

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

How to remove recently viewed products from the homepage in VirtueMart?

You can disable the visualization of the recently viewed products from your web site's front end...

How to set maximum purchase value in VirtueMart?

The VirtueMart script allows you to set the minimum sum per a purchase. This can be done from the...

How to hide the Add to Cart button for non-registered users in VirtueMart?

In order to hide the Add to Cart button for non-registered users edit...

How to install a language pack in VirtueMart?

First you should install the chosen language pack for Joomla. You can find detailed instructions...

How to change the ”Recommend to a friend” message in VirtueMart?

The Recommend to a friend link in the products details pages can be enabled from the Joomla...