irfanh94irfanh94 MitgliedKommentare: 17 Danke erhalten: 1 Mitglied seit: 23. Juni

I dont know where to write, but I will write here.

 

You have a bug in getting the single attribute from manufacturer attribute class

engine / Shopware / Bundle / StoreFrontBundle / Struct / Extendable.php :: 73

 

For example:

$manufacturer->getAttribute('someattribute') will return $this->attributes[$name] insted of $this->attributes['core']->get($name)

But until the bug is fixed, I found solution to use it like this:
$manufacturer->getAttributes()['core']->get('someattribute');

Anmelden oder Registrieren, um zu kommentieren.