How can I automatically add a service fee at checkout?

Hi,

Hoping someone can help me :)… I’d like to add a Service Fee of 18% to 20% to all orders automatically at checkout… The logic would look something like this.

calculate the total of cart, add item “Service Fee” to cart (can be a product). If total cart value <$1500, Service Fee value =_.20, if total cart value >$1500, service fee value =_.18 of total cart.

And then add a flat $10 local delivery charge.

Any help would be very much appreciated!

Thanks Much!!! :grinning_face_with_smiling_eyes:

Hello,

The ‘service fee’ would need to be a product but you will find it difficult to apply exact percentages.

I would create variants of the service fee product to match cart totals with specific service fee prices. You could then have 100 different options to charge as a service fee e.g

variant name: 1000 ($10 - in cents is probably easier)

variant price: $2

variant name: 2000

variant price: $4

etc.

You would then need to use some front-end code to match the current cart total with a variant name and add the correct variant to the cart.

There might be an app that does this if you are not comfortable editing code.