No replies
leenwebb's picture
Offline
Joined: 06/01/2008
Juice: 248
Was this information Helpful?

I have a few non-shippable items in my store, like gift certificates. If someone buys only a gift cert, then the shipping pane never shows up and no shipping is charged and all is well.

(Shipping is flat-rate, based on order total. So, under $25 = $5, $25-$50 = $7, and so on.)

But if someone buys *something* shippable and also a gift cert, then the shipping is calculated based on their entire order total. So they buy a $3 item and a $50 gift certificate, and they get charged shipping as if they bought $53 worth of stuff.

I looked in uc_order_workflow.inc but I am not seeing where exactly it defines order total. Can someone point me to that function, so I can create a duplicate that ignores non-shippable items?

(Or, as always: Am I missing something? Should I go about this another way entirely?)