2 replies [Last post]
grandwazir's picture
Offline
Joined: 08/10/2007
Juice: 22
Was this information Helpful?

Hello everyone, is it possible to add a tax rule to the subtotal in the cart as you shop around the site instead of at the end of the checkout process?

Ryan's picture
Offline
Joined: 08/07/2007
Juice: 15450
Re: adding tax to subtotal in cart

Not possible at the moment, but since that block uses a theme function you can write override it in your theme if you want. I don't exactly know how to do that, but it involves putting a function in your template.php to take the place of theme_uc_cart_display_block() in uc_cart.module. You can copy the function and modify it in your theme file that way you won't erase your work when you update to later versions of UC.

grandwazir's picture
Offline
Joined: 08/10/2007
Juice: 22
Re: Re: adding tax to subtotal in cart

Ah ok, I'll give that a go. Thanks for the reply!