I'm trying to get custom attribut from my product. I tried various methods like below, but non of them worked.
$objectManager = \Magento\Framework\App\ObjectManager::getInstance();
/** @var \Magento\Catalog\Model\Product $product */
$product = $objectManager->get('Magento\Catalog\Model\Product')->load($item->getId());
$attr = $product->getAttributes();
$test1 = $product->getData('metal_pads');
$test2 = $product->getCustomAttribute('metal_pads');
$test3 = $product->getResource()->getAttribute('metal_pads');
$test4 = $ddd->getFrontend()->getValue($product);
I'm able to get the Interceptor, but not value.
* edit * I'm using a default value which is also not visible