2026 Executive BenchmarkMid-Market Enterprise Modernization: How leaders across unify Commerce, Odoo ERP & AI in 90 days.
MAGENTO COMMERCE

Get category’s custom attribute value in Magento

-Get category’s custom attribute value -More Code echo $cat->getData('category_image'); // Gives result echo $cat->getMymoduleMyattribute(); // Gives result echo $cat->getName());...

Akshar Group Technologies
Dec 25, 2020
1 min read
Verified Source

-Get category's custom attribute value -More Code

php
<?php
getId();
$cat = Mage::getModel("catalog/category")->load($id);
echo $cat->getData('category_image'); // Gives result
echo $cat->getMymoduleMyattribute(); // Gives result
echo $cat->getName()); // My Cool Category Name
?>
Share this playbook
LET'S BUILD WHAT'S NEXT

What's Holding Your Business Back?

Tell us where you want to go, what's getting in the way, and we'll help you figure out the technology to get there.

No sales pitch. Confidential strategic advisory.