shahad Posted April 13, 2013 Share Posted April 13, 2013 So I've configured the geolocation feature to block some countries and it's working fine, but I was wondering if there is anyway to change the message that appears to blocked customers. Any help would be appreciated but keep in mind I'm a complete noob so go easy on me Link to comment Share on other sites More sharing options...
vekia Posted April 14, 2013 Share Posted April 14, 2013 tried to translate it in localization -> translations section in your prestashop back office? Link to comment Share on other sites More sharing options...
PascalVG Posted April 14, 2013 Share Posted April 14, 2013 Is it this message you want to change? You cannot place a new order from your country. If so, as Vekia said, go to Localization->Translations. Select "front office translations", and click on the desired language flag. (If you just want different English,click the USA flag.) search for the above sentence (found in the block 'header') and enter the new desired text next to this field. voila. Pascal Link to comment Share on other sites More sharing options...
shahad Posted April 15, 2013 Author Share Posted April 15, 2013 Great! thanks Link to comment Share on other sites More sharing options...
Benoît Loubière Posted October 19, 2013 Share Posted October 19, 2013 (edited) Is it this message you want to change? You cannot place a new order from your country. If so, as Vekia said, go to Localization->Translations. Select "front office translations", and click on the desired language flag. (If you just want different English,click the USA flag.) search for the above sentence (found in the block 'header') and enter the new desired text next to this field. voila. Pascal ( SOLVED ) I have an additional question, I would like the message to be centered in the screen instead of being on the left part. Any chance we can adjust this point ?? Thanks a lot for your comments ! Edited October 24, 2013 by Benoît Loubière (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted October 19, 2013 Share Posted October 19, 2013 you can do it with css styles. what theme you use? default one? Link to comment Share on other sites More sharing options...
Benoît Loubière Posted October 19, 2013 Share Posted October 19, 2013 you can do it with css styles. what theme you use? default one? Hi Vekia, Thanks for your quick answer ! Yes I am aware I can do it with css, but in what file ? Yes i am using the default theme. Thanks again for your help ! Link to comment Share on other sites More sharing options...
PascalVG Posted October 24, 2013 Share Posted October 24, 2013 This is the code that prints it, so probably try some css on #restricted-country <div id="restricted-country"> <p>{l s='You cannot place a new order from your country.'} <span class="bold">{$geolocation_country}</span></p> </div> Put it in themes/<your theme folder>/css/global.css something like: #restricted-country { text-align: centered; } or so. Didn't try it, so play with it a little. pascal Link to comment Share on other sites More sharing options...
Benoît Loubière Posted October 24, 2013 Share Posted October 24, 2013 I have an additional question, I would like the message to be centered in the screen instead of being on the left part. Any chance we can adjust this point ?? Thanks a lot for your comments ! Thanks Pascal VG !! Now its ok ! This is the code that prints it, so probably try some css on #restricted-country <div id="restricted-country"> <p>{l s='You cannot place a new order from your country.'} <span class="bold">{$geolocation_country}</span></p> </div> Put it in themes/<your theme folder>/css/global.css something like: #restricted-country { text-align: centered; } or so. Didn't try it, so play with it a little. pascal Thanks PascalVG Now it's ok ! Link to comment Share on other sites More sharing options...
PascalVG Posted October 24, 2013 Share Posted October 24, 2013 Glad it helped! Happy selling, pascal 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