Layered Navigation does not work with JM_Wall Them

I’ve been using your theme for some time but a few days ago i tried to activated the layered navigation and it’s not working, actually child categories are showing without the layered navigation on.
 
I activate all attributes i want, i made them filter and set the category to anchor but this doesn’t work.
 
I noticed the Theme doesn’t call the files /template/catalog/layer/view.phtml and /template/catalog/layer/filter.phtml in the category pages.
 
What i could see is that the child categories are called from template/catalog/navigation/left.phtml with this code, but this only calls for categories, doesn’t do the layered navigation by attribute:

<div class=”block-content”>
<dl id=”narrow-by-list2″>
<dt><?php echo $this->__(‘Category’) ?></dt>
<dd>
<ol>
<?php foreach ($_categories as $_category): ?>
<?php if($_category->getIsActive()): ?>
<li>
<a href=”<?php echo $this->getCategoryUrl($_category) ?>”<?php if ($this->isCategoryActive($_category)): ?> class=”current”<?php endif; ?>><?php echo $this->htmlEscape($_category->getName()) ?></a> (<?php echo $_category->getProductCount() ?>)
</li>
<?php endif; ?>
<?php endforeach ?>
</ol>
</dd>
</dl>
<script type=”text/javascript”>decorateDataList(‘narrow-by-list2’)</script>
</div>

How can we fix this?

1 answer

Please login or Register to Submit Answer

Written By

Comments