Web 2.0

Ausgabe eines Attributes eines Produktes

Es kommt vor, dass man auf der Produktseite gezielt ein Attribut ausgeben will und nicht auf den Additional-Block zurückgreifen will. Folgender Code sollte helfen!

PHP
$manufacturer = $_product->getResource()
		->getAttribute('manufacturer')
		->getFrontend()
		->getValue($_product);