categories's images at 'catalog/filter'
Posted: 29 Dec 2017, 19:49
Hi
I want to use categories's images at 'catalog/filter'. I see the code at client\html\templates\catalog\filter\tree-default.php:
I think it should render me some images but it does not. There are no one $listItem at "foreach" block.
I think it depends on some aimeos settings but i did not find anything at the documentation.
I want to use categories's images at 'catalog/filter'. I see the code at client\html\templates\catalog\filter\tree-default.php:
Code: Select all
<div class="media-list"><!--
<?php foreach( $item->getListItems( 'media', 'icon' ) as $listItem ) : ?>
<?php if( ( $mediaItem = $listItem->getRefItem() ) !== null ) : ?>
<?= '-->' . $this->partial(
$this->config( 'client/html/common/partials/media', 'common/partials/media-default.php' ),
array( 'item' => $mediaItem, 'boxAttributes' => array( 'class' => 'media-item' ) )
) . '<!--'; ?>
<?php endif; ?>
<?php endforeach; ?>
--></div>
I think it depends on some aimeos settings but i did not find anything at the documentation.