5 replies [Last post]
PepeMty's picture
Offline
InternationalizationizerNot Kulvik
Joined: 11/26/2007
Juice: 158
Was this information Helpful?

Gosh! This is getting embarasing. Followed Lyle's tip and prices don't appear by the product. Thanks.

Problem is that in the cart block I get a total amount of the buy; and in the view cart page I get a subtotal amount; and in the checkout I get a price and subtotal column.

How can I get rid of these, I really only need a quotation cart. Smiling

I'm really sorry to bother you all again and again.

Warm regards from sunny México!
Pepe

Ryan's picture
Offline
Joined: 08/07/2007
Juice: 15438
Re: Customer purchase price (2)

Pepe, for all these things you're going to need to do some theme overriding. For each of these places, you'll need to write functions in your site's theme that override them. You can copy and paste the theme functions and just modify them to remove any pricing info. Not at work, so I can't point you to any functions atm.

PepeMty's picture
Offline
InternationalizationizerNot Kulvik
Joined: 11/26/2007
Juice: 158
OK

Thanks for the reply, Ryan.

OK. I'll wait for you to point me out what functions I need to override.

Thanks again. Smiling

Warm regards from sunny México!
Pepe

Ryan's picture
Offline
Joined: 08/07/2007
Juice: 15438
Re: OK

You should just dive into the code. Eye-wink

You'll need to override theme_uc_cart_block_content(), theme_uc_cart_view_form(), and theme_cart_review_table(). But I'm not really sure this is the best way to meet your requirements. I mean, nothing else that does this has been coded by anyone, but this just seems like it's going to be as much custom code as writing an actual quote system that doesn't bother the checkout.

PepeMty's picture
Offline
InternationalizationizerNot Kulvik
Joined: 11/26/2007
Juice: 158
Thanks Ryan!

I've been checking this for the best part of the day, and yet can't figure it out.

I'll give it a bit more time. Smiling

Warm regards from sunny México!
Pepe

najibx's picture
Offline
Joined: 11/09/2007
Juice: 24
not updated?

This is kinda duplicated as in http://www.ubercart.org/forum/support/609/quotation_cart#comment-25426

Anyhow, theme_cart_review_table() is no longer there.

The function function uc_cart_view_table($form_state, $items) is more relevant, but I don't want to hack the ubercart core:-(