Jump to content

[SOLVED] Fixing categories display in footer (PS new theme 1.5)


blackarma

Recommended Posts

Hello,

 

After installing prestashop new 1.5 theme, categories list in the footer is not rendered correctly.

In blockcategories i can see that code loops differently.

 

As we can see this what blockcategories-footer.tpl looks like:

 

<!-- Block categories module -->
<div class="blockcategories_footer">
<h4>{l s='Categories' mod='blockcategories'}</h4>
<div class="category_footer" style="float:left;clear:none;width:{$widthColumn}%">
<div style="float:left" class="list">
<ul class="tree {if $isDhtml}dhtml{/if}">

{foreach from=$blockCategTree.children item=child name=blockCategTree}
{if $smarty.foreach.blockCategTree.last}
{include file="$branche_tpl_path" node=$child last='true'}
{else}
{include file="$branche_tpl_path" node=$child}
{/if}

{if ($smarty.foreach.blockCategTree.iteration mod $numberColumn) == 0 AND !$smarty.foreach.blockCategTree.last}
</ul>
</div>
</div>

<div class="category_footer" style="float:left;clear:none;width:{$widthColumn}%">
<div style="float:left" class="list">
<ul class="tree {if $isDhtml}dhtml{/if}">
{/if}
{/foreach}
</ul>
</div>
</div>
<br class="clear"/>
</div>
<!-- /Block categories module -->

 

But for some reason in frontend display each categorie is in it's own div.category_footer.

It should only once apply that div. For reference i checked official demo of PS 1.5 new theme and it's applied there only once.

 

Demo shop is located here: http://demo.blackarma.com

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...