Jump to content

Title of the categories block in a multistore


Néstor

Recommended Posts

Hello everyone.

I recently installed Prestashop 1.16.1.18. I'm using it in "multistore" mode.

In the home page of each store appears the module of the categories with the title "Categories" above it. I would know how to change that title only in the main store (I would like to change "Categories" to "Stores").

Is there any way to make this change in the main store without affecting the other stores?

Thank you very much in advance for any help.

Link to comment
Share on other sites

Thanks a lot for your soon replay musicmaster!

I made the following change in the blockcategories.tpl file and forced compilation. However, I think I am wrong in the way to call the variable::

<div id="categories_block_left" class="block">
	<h2 class="title_block">
	    {if id_shop=='1'}Tiendas    
		{elseif isset($currentCategory)}
			{$currentCategory->name|escape}
		{else}
			{l s='Categories' mod='blockcategories'}
		{/if}
	</h2>

I tried placing the symbol $ in front of id_shop, but it still does not work. Could you tell me if I should put something else?

Thanks again for your help.

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