5 replies [Last post]
jerbroo's picture
Offline
Joined: 08/14/2008
Juice: 104
Was this information Helpful?

I've installed Google Checkout and don't need the default Checkout button in the shopping cart. How do I go about overriding this bit of code? Where is it?

Thanks!
Jeremy

PaulW's picture
Offline
Joined: 05/23/2008
Juice: 148
Re: Remove Checkout Button from the Shopping Cart

I have a custom module that I'm developing for my site based on uc_event. With that I also have a style sheet (.css). I changed the color of the checkout button in the style sheet like so:

#edit-checkout {
  color: green;
}

I suppose you could accomplish what you want by using

#edit-checkout {
  display: none;
}

I don't know of a way to hide it without the .css file. Good luck.

Lyle's picture
Offline
AdministratoreLiTe!
Joined: 08/07/2007
Juice: 6846
Re: Remove Checkout Button from the Shopping Cart

It's a setting in the Checkout settings page at admin/store/settings/checkout/edit. The checkbox is labeled "Enable checkout (disable to only use third party checkout service like PayPal Express Checkout)." No code required.

jerbroo's picture
Offline
Joined: 08/14/2008
Juice: 104
Lyle wrote:It's a setting in
Lyle wrote:

It's a setting in the Checkout settings page at admin/store/settings/checkout/edit. The checkbox is labeled "Enable checkout (disable to only use third party checkout service like PayPal Express Checkout)." No code required.

Perfect, thanks Lyle!

stradabl's picture
Offline
Joined: 03/03/2009
Juice: 5
Re: Lyle wrote:It's a setting in

I have tried this, however, if you disable the default checkout the whole cart (cart listing, update cart) goes away.

Anyone else see this? Solutions?

Thanks,
Chris

mrag's picture
Offline
Joined: 11/12/2008
Juice: 40
Re: Re: Lyle wrote:It's a setting in

If anybody reading this is trying to remove links for Paypal or Google Checkout from the cart page as I was, take a look at this post which should help:

http://www.ubercart.org/forum/support/195/checkout_paypal_button