Try the Demo

Magento Forum

   
Produkt_List Limiter from <select> to <a>
 
tesmics
Jr. Member
 
Total Posts:  1
Joined:  2010-08-23
 

Hello everybody,

i need some help for changing the limiter selectbox from the toolbar.phtml into an anchor-tag.

<div class="limiter">
<label><?php echo $this->__('Show') ?></label>
<select onchange="setLocation(this.value)">
<?php foreach ($this->getAvailableLimit() as $_key=>$_limit): ?>
<option value="<?php echo $this->getLimitUrl($_key) ?>"<?php if($this->isLimitCurrent($_key)): ?> selected="selected"<?php endif ?>>
<?php echo $_limit ?>
</option>
<?php endforeach; ?>
</select> <?php echo $this->__('per page') ?>
</div>

Thanks for your help..

 
Magento Community Magento Community
Magento Community
Magento Community
 
MagePsycho
Mentor
 
Avatar
Total Posts:  1688
Joined:  2009-06-23
 

You can find the configuration options in backend:

System >> Configuration >> Catalog >> Somewhere here....

Thanks

 Signature 

MagePsycho - Magento Freelancer
Free Modules: jQuery LightBoxes | Frontend Links Manager & more…
Commercial Modules: jQuery Sliders Pro | Custom Login Redirect Pro | Store Restrction Pro & more...

Follow me on Twitter @ magepsycho

 
Magento Community Magento Community
Magento Community
Magento Community
 
marissennet
Jr. Member
 
Total Posts:  2
Joined:  2011-11-28
 

I’m using the following code in a webshop:

<div class="limiter">
            <
label><?php echo $this->__('Show'?></label>
            <
ul>
            
<?php foreach ($this->getAvailableLimit() as  $_key=>$_limit): ?>
            <?php 
if($this->isLimitCurrent($_key)): ?>
                
<li><?php echo $_limit ?></li>
            
<?php else: ?>
                
<li><a href="<?php echo $this->getLimitUrl($_key) ?>"><?php echo $_limit ?></a></a>
            
<?php endif ?>
            <?php 
endforeach; ?>
            
</ul<?php echo $this->__('per page'?>
        
</div>

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
    Back to top