Re: Adding product attributes to minicart
I'm not sure why it doesn't print attributes.
As far as I see your template iterates over items returned by \XLite\View\Minicart::getItemsList().
This method returns an array of \XLite\Model\OrderItem object, so you should be able to call any of its methods on "item" in your template.
I see the getAttributeValues() and getAttributeValuesIds() methods in that class, but not getAttributesList().
Perhaps you should debug what these methods return to find out why it is empty for you.
|