Discussions

Adding a required packaging fee to each order after displaying the available shipping services

Hi Everyone!

I'm having a tough time trying to figure out how to do this. Basically, I want to add a packaging fee, $4.95, to each order (as in the entire order, not each product unit). I want to make this fee mandatory...like a sales tax, but I want it to be a set amount. I want to show this fee after the customer selects the shipping service, at the order total. Because I do not want to make this fee an option, like a shipping service, I want it to be mandatory. Is there any way of doing this?

I tried creating a packaging fee as a product, "Packaging Fee", that would be added to each order once an item was placed in the shopping cart, but that caused a major memory leak! It basically wouldn't stop adding the Packaging Fee product, even though I had only 1 item in the cart.

The idea would have been to add 1 Packaging Fee, regardless of how many products are in my cart.

I tried adding the fee as some kind of tax, but that didn't work either because I don't want to calculate it based on a percentage like a tax, I want to set it as a set amount.

I tried creating a rule to add this fee at checkout when the order total is given, but I can't find an action that would apply to it. I tried using the action of collecting shipping rates, but that didn't work.

Can you guys please suggest a good way of doing this?

Thank you!

- Diana

Posted: Mar 14, 2012

Comments

jean on May 10, 2012

I just hacked the griftwrap module which is on a sandbox and removed the gift message pane. It creates its own line item. But for some reason it is not taken into account when the tax is calculated...

adam1 on January 4, 2016

I really would like to see the mentioned screenshot from @2ndmile, but the image is lost! Can someone re-post it?