Below is my order total preview:

Subtotal: $140.70
Total discount: -$19.18
Subtotal excluding taxes: $231.52
Printing Minimum Order: $60.00
1 Color Set Up Fee: $50.00

Sales Tax: $9.42
Order total: $240.94

I want / need the two bolded items to be above the sub-total excluding taxes. Tried changing the hook_line_item function in both uc_taxes and this module to something more reasonable. It didn't work. Any other ideas?

CommentFileSizeAuthor
#7 uc_fee-weight.patch2.36 KBmrfelton
#6 uc_fee-weight.patch1.39 KBmrfelton

Comments

mrfelton’s picture

So, do you want the taxes to apply to the fees?

mrfelton’s picture

If so, I think all you need to do is go to admin/store/settings/taxes and check the relevant checkbox in the 'Taxed line items' section.

lonehorseend’s picture

No, I just want to change the order of stuff so it looks more logical.

mediamash’s picture

is this possible? It would be more logical if this could be accomplished:

Subtotal: $140.70
Printing Minimum Order: $60.00
1 Color Set Up Fee: $50.00
Total discount: -$19.18
Subtotal excluding taxes: $231.52
Sales Tax: $9.42
Order total: $240.94

charlie-s’s picture

Would also like to accomplish this. It looks like this for me currently:

Subtotal: $9.78
Subtotal excluding taxes: $10.78
Handling Fee: $1.00
Tax: $0.72
Order total: $10.53

When the customer expects these things are added in order from top to bottom (i.e. Subtotal, Handling Fee, then Subtotal excluding taxes). A minor detail but one that seems to confuse some customers.

mrfelton’s picture

Status: Active » Needs review
StatusFileSize
new1.39 KB

Please try with this patch.

mrfelton’s picture

StatusFileSize
new2.36 KB

Actually, you'll need this version (includes hook_update hook)

mrfelton’s picture

Status: Needs review » Fixed

Actually, ignore both those patches. I've committed a slightly modified version of the patch at #6.

http://drupalcode.org/viewvc/drupal/contributions/modules/uc_fee/uc_fee....

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

Cablestein’s picture

Is this patch still available?

I am in the same situation as other posters in this thread.

The "Subtotal excluding taxes" includes any fee's I put, but the line item occurs before the fees!
Doesn't make any sense at all.

Cablestein’s picture

Status: Closed (fixed) » Needs work

re-opening

Luki_be’s picture

subscribing

arski’s picture

sub

rc_100’s picture

This is a bit of a hack, but I was able to move the line item for my fee up in the list (so that it appeared before the tax line item) by going into the db, and changing the weight in the uc_fees table from 0 to -10. Seems to work fine!