2017-01-04, 18:01:57
But you are right, I have just tried that snippet and it doesn't seem to work, because the call of the category accessor is wrong.
To get it working just change the line:
to
This should fix that
I'll fix that example, Thanks for your help!
To get it working just change the line:
Code:
$fruitsCategory = $manager->category->getCategory('name=Fruits');
to
Code:
$fruitsCategory = $manager->getCategoryMapper()->getCategory('name=Fruits');
This should fix that
I'll fix that example, Thanks for your help!