How to program custom fees

Sometimes you have to setup complex fees which can’t be done via UI.

Here is sample code which adds 2 different fees to the cart:

 

Skip to toolbar