Copy and past the code . where you want to display color below the name or above the name. follow the following steps: images updated in configurable simple product acording to color . Change Visibility *: catalog search List.phtml <? if($_product->getTypeId() == "configurable"): $conf = Mage::getModel('catalog/product_type_configurable')->setProduct($_product); $simple_collection = $conf->getUsedProductCollection()->addAttributeToSelect('*')->addFilterByRequiredOptions(); foreach($simple_collection …
Read More »Magento 2 get custom category attribute
public function getCategoryCollection() { $collection = $this->_categoryCollection->create() ->addAttributeToSelect('*') ->addAttributeToFilter('is_home_category', '1'); return $collection; }
Read More »