0

On a category page if I use the layered navigation and filter I get a URL like /men?product_attributes=141

My question is how can I get the label of the product attribute 141

1

I think I have sorted

$productModel = Mage::getModel('catalog/product');
        $attr = $productModel->getResource()->getAttribute("product_attributes");
        if ($attr->usesSource()) {
            $color_id = $attr->getSource()->getOptionText("141");
        }

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.