Néstor Posted May 27, 2018 Share Posted May 27, 2018 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 More sharing options...
musicmaster Posted May 27, 2018 Share Posted May 27, 2018 The only way is to go into the template that generates that title and insert something like "if id_shop==1". As that template is quite likely specific for your theme I can't do that for you. Link to comment Share on other sites More sharing options...
Néstor Posted May 27, 2018 Author Share Posted May 27, 2018 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 More sharing options...
Néstor Posted May 27, 2018 Author Share Posted May 27, 2018 Resolved!! The correct way to call the variable is $ cart-> id_shop Thanks again Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now