ghow can you remove the attribute quantity from magento JM Crafts

Hi There

Can anyone help me. I want to remove the attribute quantity displayed in magento.

We just want the attribute name but don’t want any number displayed nexto the name.


Please see attachment.

We want to remove the numbers displayed next to

Bateau (14)
Halter (1)
Keyhole (5)
One-shoulder (3)
Portrait (8)
Scoop (5)
Shoulder straps (9)
Strapless (48)
Sweetheart (33)
V-neck (5)


Attachment 32189

1 answer

Profile photo of Sherlock 0.00 $tone December 18, 2013

Hi jacquis,

which theme are you using ? To remove those numbers you can open the file of app\design\frontend\default\your_themetemplate\ca talog\layer\filter.phtml there you would see this code

PHP Code:

<?php if ($this->shouldDisplayProductCount() && Mage::registry('current_category')): ?>
        (<?php echo $_item->getCount() ?>)

you can change it to

PHP Code:

<?php if ($this->shouldDisplayProductCount() && Mage::registry('current_category')): ?>

Hope it helps !


Please login or Register to Submit Answer

Written By