Jump to content

Having a different logo for each category


Recommended Posts

Good Night,
 
This is my first post on the prestashop and still not very familiar with programming.
 
What I want is a simple thing when you click on a category appears a new logo my code looks like this:
 
{if $category->name == '3-bwchic'} 
    <a href="http://wafl.pt/teste/3-bwchic" title="BWCHIC">
    <img class="logo img-responsive" src="http://imageshack.co...5462/6ySoPx.png" />
    </a>
{/if}
 
{if $page_name =='index'}
    <a href="{if $force_ssl}{$base_dir_ssl}{else}{$base_dir}{/if}" title="{$shop_name|escape:'html':'UTF-8'}">
    <img class="logo img-responsive" src="{$logo_url}" alt="{$shop_name|escape:'html':'UTF-8'}"{if       isset($logo_image_width) && $logo_image_width} width="{$logo_image_width}"{/if}{if isset($logo_image_height) &&     $logo_image_height} height="{$logo_image_height}"{/if}/>
</a>
{/if}
 
On the index page has the normal and i wanted in bwchic page had another logo.
Does anyone have any idea how can I do this?
 
Best Regards

 

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