kingoftheworld_87 Posted June 14, 2010 Share Posted June 14, 2010 Anyone know how to completely remove the checkout button? i dont want people to see it anywhere.Also id like keep the 'cart button' but change it to say something else e.g 'basket'Thanks Link to comment Share on other sites More sharing options...
mytheory. Posted June 14, 2010 Share Posted June 14, 2010 To remove the checkout button from the blockcart, edit your modules/blockcart/blockcart.tpl file...Near the bottom look for this block of code: {l s='Cart' mod='blockcart'} {l s='Check out' mod='blockcart'} And comment out or delete this line from it: {l s='Check out' mod='blockcart'} Also, to change the text of the "cart" button modify the line above the checkout button: {l s='Cart' mod='blockcart'} From it change the 'Cart' from {l s='Cart'... to whatever you want it to say instead.HTH! Link to comment Share on other sites More sharing options...
kingoftheworld_87 Posted June 15, 2010 Author Share Posted June 15, 2010 Iv made the following changes but the checkout button is still apparant on the front page and it still reads 'cart' everywhere. See www.livinginandout.co.uk. {/if} {l s='Mood Board' mod='blockcart'} Link to comment Share on other sites More sharing options...
mytheory. Posted June 15, 2010 Share Posted June 15, 2010 Ah... IC that you are using a different theme (black and white?). This code change above was for the cart block which this theme doesn't seem to use; that's why you weren't seeing any changes.I don't know too much about that theme, but it seems like that block at the top right corner (that is what is in question, right?) is part of the blockuserinfo... I don't use that theme and can't forsure know how that theme is modified but maybe check out modules/blockuserinfo/blockuserinfo.tpl file. Or look for a tpl file in the themes folder that may be related to that block. Also, you should firebug (plugin for firefox) to further pinpoint this info.HTH! Link to comment Share on other sites More sharing options...
Farid Zenon Posted September 16, 2011 Share Posted September 16, 2011 @mytheory. - thank for this tutorial it work for me Link to comment Share on other sites More sharing options...
JuanLaSambuca Posted June 10, 2012 Share Posted June 10, 2012 Hi guys, I'm trying to do it but it doesn't work on my template https://lasambucalifestyle.com Actually it seems that it doesn't show the changes once I modify the blockcart.tpl Any thoughts? 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