Get value of super attribute of configurable products in magento 1.9.3.1
-
16-12-2020 - |
Solution
Try below code
$_product = $this->getProduct();// Or you can load your product here
$_attributes = $_product->getTypeInstance(true)->getConfigurableAttributesAsArray($_product);
print_r($_attributes);
Licensed under: CC-BY-SA with attribution
Not affiliated with magento.stackexchange