3 replies [Last post]
yourtube's picture
Offline
Joined: 06/04/2008
Juice: 3
Was this information Helpful?

Is there a way to remove the sub total and total from my shopping cart and checkout process?

I am using ubercart as a catalog, and do not need to display prices, but I want users to be able to submit a request for a quote (based on the contents of their cart).

Right now, it lists the totals as $0.00, but I'd like to take that out completely.

I have tried the Free Order Payment Module (http://www.ubercart.org/contrib/4089), but I don't think that's what I need. If it is, can someone explain how it works?

Thank you!

Ryan's picture
Offline
Joined: 08/07/2007
Juice: 15438
Re: Remove Order Sub-Total and Total From Cart/Checkout

To get what you're looking for, you're going to have to either write your own shopping cart block or override the current one in your theme to not display prices. There isn't an option anywhere to turn off this much info.

Same thing for checkout... you can write your own checkout pane that lists the cart contents w/o any total information.

matshep1's picture
Offline
Joined: 02/08/2009
Juice: 21
Re: Re: Remove Order Sub-Total and Total From Cart/Checkout

In case it might help anyone else...

It's not elegant but I have found that I can hide my subtotal and price fields using CSS.

e.g.

td.subtotal, td.price {
  display: none;
}

Mat Smiling

mansspams's picture
Offline
Joined: 06/14/2009
Juice: 30
also

you can find and remove pricing information for many places in ubercart settings + use display:none method which works well unless you actually have pricing information. here is my list of rules in no particular order...

.cart-block-item-price, .cart-block-summary-total, .subtotal, .uc-price, .cart-block-summary-items, .uc_account_info { display: none; }