amanuensis Posted April 29, 2009 Share Posted April 29, 2009 Is it possible for me to change the text 'cart' to 'basket' from all my front page locations. Link to comment Share on other sites More sharing options...
belladict Posted April 29, 2009 Share Posted April 29, 2009 Go to tools >> translations >> front office translations.You can change all sentences that has the word 'cart' to 'basket' there. Link to comment Share on other sites More sharing options...
amanuensis Posted April 29, 2009 Author Share Posted April 29, 2009 Thanks I have done that, but I am still left with the word 'cart' on the button next to checkout, next to the symbol at the top right of the screen and top right box where all purchases are shown.Any ideas as to change the text on these please. Link to comment Share on other sites More sharing options...
pixelgeeks Posted April 30, 2009 Share Posted April 30, 2009 Thanks I have done that, but I am still left with the word 'cart' on the button next to checkout, next to the symbol at the top right of the screen and top right box where all purchases are shown.Any ideas as to change the text on these please. In your main prestashop folder go into modules >> blockuserinfo and open to edit blockuserinfo.tpl change:<!-- Block user information module HEADER --> {l s='Welcome' mod='blockuserinfo'}, {if $logged} {$customerName}({l s='Log out' mod='blockuserinfo'}) {else} {l s='Log in' mod='blockuserinfo'} {/if} {l s='Cart:' mod='blockuserinfo'} {if $cart_qties > 0}{$cart_qties}{/if}{l s='product' mod='blockuserinfo'}{l s='products' mod='blockuserinfo'} {if $cart_qties > 0}{convertPrice price=$cart->getOrderTotal(true, 4)}{/if} {l s='(empty)' mod='blockuserinfo'} {l s='Your Account' mod='blockuserinfo'} <!-- /Block user information module HEADER --> To: <!-- Block user information module HEADER --> {l s='Welcome' mod='blockuserinfo'}, {if $logged} {$customerName}({l s='Log out' mod='blockuserinfo'}) {else} {l s='Log in' mod='blockuserinfo'} {/if} {l s='Basket:' mod='blockuserinfo'} {if $cart_qties > 0}{$cart_qties}{/if}{l s='product' mod='blockuserinfo'}{l s='products' mod='blockuserinfo'} {if $cart_qties > 0}{convertPrice price=$cart->getOrderTotal(true, 4)}{/if} {l s='(empty)' mod='blockuserinfo'} {l s='Your Account' mod='blockuserinfo'} <!-- /Block user information module HEADER --> Link to comment Share on other sites More sharing options...
amanuensis Posted April 30, 2009 Author Share Posted April 30, 2009 Many thanks for you response to my problem - i have implemented the code as per your instructions.This has attended to a number of the problems of the word cart being changed, but I am still left with the word 'cart' next to the checkout button, and the title of the checkout block above that. (see screenshot).Any ideas as to how to fix this? Link to comment Share on other sites More sharing options...
rocky Posted May 1, 2009 Share Posted May 1, 2009 You need to go to Tools > Translations, select "Modules translations" in the "Modify translations" dropdown, then click the flag. Look for "Cart" under the "blockcart" section. There are other modules with text you can change from "cart" to "basket" too. Link to comment Share on other sites More sharing options...
amanuensis Posted May 1, 2009 Author Share Posted May 1, 2009 Many thanks for your help with this. Link to comment Share on other sites More sharing options...
Cat7 Posted April 21, 2011 Share Posted April 21, 2011 HiI know this is an old thread but, having searched through the archives, it seems relevant to my question...Does anyone know how I can change the text on the Cart block to read Basket? It's not something that can be done in the admin section & I've tried editing the sections as posted above but they don't seem to work in PrestaShop v1.4.Thanks in advance for any help. Link to comment Share on other sites More sharing options...
rocky Posted April 21, 2011 Share Posted April 21, 2011 The process is the same in PrestaShop v1.4, so it should work. You have to look in a different section depending on whether your theme is overriding the cart block. If themes/yourtheme/modules/blockcart/blockcart.tpl exists, then you need to look in "yourtheme" section of the "Front Office translations". If that file doesn't exist, then you should change the "blockcart" section of the "Module translations". Link to comment Share on other sites More sharing options...
Cat7 Posted April 22, 2011 Share Posted April 22, 2011 Fantastic! All sorted now :-) thank you.Much appreciated Link to comment Share on other sites More sharing options...
Melster Posted November 12, 2011 Share Posted November 12, 2011 Hi I have worked through all the instructions above and they have worked except for one cart which remains. the alt is basket but it still reads Cart Have I missed something? Link to comment Share on other sites More sharing options...
Dave L Posted November 12, 2011 Share Posted November 12, 2011 You will find this one in Tools>Translations>Module Translations Scroll down to Module: blockuserinfo. It's on the 8th line. 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