Get value of super attribute of configurable products in magento 1.9.3.1
-
16-12-2020 - |
解决方案
Try below code
$_product = $this->getProduct();// Or you can load your product here
$_attributes = $_product->getTypeInstance(true)->getConfigurableAttributesAsArray($_product);
print_r($_attributes);