Jump to content

Remove the checkout button - Change the Cart Link


Recommended Posts

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

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

  • 1 year later...
  • 8 months later...

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...