Jump to content

Header_category.tpl is not call


Recommended Posts

Hello everyone,

 

I have a problem with the file header_category.tpl

There is the code :

{block name='header_cat'}
    {if $category.image.large.url}
        <div class="header_cat full-width" style="background-image:url({$category.image.large.url})">
    {else}
        <div class="header_cat full-width" style="background-color: black;">
    {/if}
            <div class="container">
                {block name='breadcrumb'}
                    {include file='_partials/breadcrumb.tpl'}
                {/block}
                {block name='product_list_header'}
                    <h2 class="h2">{$listing.label}</h2>
                {/block}
            </div>
        </div>
        <div class="nav_facettes_top full-width">
            <div class="container">
                        {hook h="displayNavFacettesTop"}
            </div>
        </div>
{/block}

This code is call normally when I'm accessing to a category page :image.thumb.png.e067618e504a9a118b7643aef23f3bf0.png

 

But, when I do a search with the faceted search, access a product and use the return page, the header_category.tpl is not call...

image.thumb.png.5a08422fc97a094b851b028972b63ea1.png

 

Someone for help ?

 

Thank you :)

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...