amanuensis Posted October 2, 2012 Share Posted October 2, 2012 How can I change the title in the block named 'Our Stores'? I would like to change the file manually and not via the BO Thank you Link to comment Share on other sites More sharing options...
Norwegian Rat Posted October 2, 2012 Share Posted October 2, 2012 My first guess would be to rename the string: <h1>{l s='Our stores'}</h1> to <h1>{l s='Whatever'}</h1> in stores.tpl in your theme. Link to comment Share on other sites More sharing options...
amanuensis Posted October 4, 2012 Author Share Posted October 4, 2012 Thank you for replying: I have tried your suggestion and it has not worked , any other ideas? Link to comment Share on other sites More sharing options...
hxd Posted October 4, 2012 Share Posted October 4, 2012 (edited) Try this: on your hosting account open the root PrestaShop directory, go to modules/blockstore/blockstore.tpl, edit the blockstore.tpl file and change the second mention of Our stores in the following code: <h4><a href="{$link->getPageLink('stores.php')}" title="{l s='Our stores' mod='blockstore'}">{l s='Our stores' mod='blockstore'}</a></h4> <div class="block_content blockstore"> Don't forget that when you edit tpl files you need to enable the Force Compile option, so that you can see the changes on the frontend. You can do that from the back office (Preferences tab>Performance sub-tab). This will change the title of the block. Otherwise, by modifying the stores.tpl file you can change the title of the page that's displayed when you click on the Our stores block. Hope this helps. Edited October 4, 2012 by hxd (see edit history) 1 Link to comment Share on other sites More sharing options...
angeloinny Posted March 28, 2013 Share Posted March 28, 2013 Much Thanks for this tip!!! I just performed the change in Prestashop 1.5xx and I needed to so badly to change 'OUR STORES' and the sub-title below the store photo "Discover Our Stores' from plural to the singular in the STORE BLOCK module. I am surprised this isn't a major and common request since it can't be changed in the Back Office no matter how much you look for a fix. The tpl file in Version 1.5xx looked a little different than the example above but I cut&pasted it here for reference. If you are new at changing web files - always make a backup of the original file before editing just in case things go wrong. I used Dreamweaver to edit the file. Just remove the two 's' letters and the result will look as the code below here when you are done. Keep in mind the photo doesn't show here and I inserted (photo was here) for reference also). Just save the edited tpl file with your changes and upload it over the existing original file and you are done. You may have to re-load the web page to see the changes. {l s='Our store' mod='blockstore'} (photo was here) » {l s='Discover our store' mod='blockstore'} Link to comment Share on other sites More sharing options...
orangeluckypierre Posted August 30, 2013 Share Posted August 30, 2013 I am having the same problem using 1.5.5 but no matter what I change in the .tpl file it simply will not display in the front end. I've tried everything re: force recompile, turning the store on and off clearing smarty cache but no joy!!! This should be a simple change. I need to change the title from "our stores" to "our retailers" HHHHEEEEEEELLLPPPPP ;0) Link to comment Share on other sites More sharing options...
vekia Posted August 30, 2013 Share Posted August 30, 2013 I am having the same problem using 1.5.5 but no matter what I change in the .tpl file it simply will not display in the front end. I've tried everything re: force recompile, turning the store on and off clearing smarty cache but no joy!!! This should be a simple change. I need to change the title from "our stores" to "our retailers" HHHHEEEEEEELLLPPPPP ;0) hello and if you remove from .tpl file function to display "our stores" it still appears there? Link to comment Share on other sites More sharing options...
orangeluckypierre Posted August 31, 2013 Share Posted August 31, 2013 Hi Vekia, Bit embarrasing as I was changing .../modules/blockstore/blockstore.tpl and not .../themes/default/modules/blockstore/blockstore.tpl Sorry for being an ass, but thanks for answering so quickly. All working correctly now. Link to comment Share on other sites More sharing options...
pratikcws Posted March 20, 2017 Share Posted March 20, 2017 change your theme -----/public_html/themes/default-bootstrap/modules/blockcms/blockcms.tpl for page title and breadcums public_html/themes/default-bootstrap/stores.tpl 100% work and if you still getting problem text me on [email protected] 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