Extra Fees

  • Extra fees are defined in the admin, currently under “Shipping” tab

  • There can be more than one extra fee

  • Extra fees can be ordered, and they are applied in order — this is important when you have for example both a rush fee and a minimum value fee where the rush fee should run first so that the min value calculation includes the rush value

  • Pixfizz transactions for extra fees are charged in the same way as regular orderline tx fees (for billing it basically looks like a regular orderline).

  • Orderline discounts are calculated before extra fees, which means that you have access to the orderline discount in the extra fee formula. Discounts never apply to extra fees.

  • Extra fee formulas work very similarly to product price or shipping price formulas, but the only available variables in extra fee formulas are orderlines_total and orderlines_discount.

  • A major difference is that you can use liquid to build your extra fee formula. This allows you to make extra fees conditional for example on the value of a cart custom field or user category.

  • Extra fee formulas have access to cart, user, and website liquid variables. The following cart properties will not work in an extra fee formula: cart.total, cart.shipping, cart.discount, cart.shipping_discount, cart.tax because all of these can potentially depend on extra fees. These however are available: cart.orderlines_total, cart.orderlines_discount, and all other non-pricing related properties.

  • Extra fees are ignored (not added to the cart) if the pricing formula produces a blank value, zero, or a negative value.

Last updated