Rabbinatix
Sign inGet started
Store

Shipping cost

FreeLogic
@rabbinatix/shipping-cost by Rabbinatixupdated Oct 4, 2026

Free from 50, otherwise 4.90; express is always 15.

Sign in to add

A rule written as data instead of branches: the conditions are combined with AND and NOT, and nested Select nodes pick the price.

Shows: Greater or Equal, AND, NOT, Select inside Select.

How to use it

Add it to your logic, then add a Call Function step in any logic and pick Shipping cost. It belongs to no system, so every system can use it. Or download the TypeScript and call it from your own code.

Inputs
orderTotal: Number
express: Yes / No
Outputs
shipping: Number
Previewdrag the steps around; scroll to zoom
Function Entry, Input / output. 0 inputs, 3 outputs. step 1 of 7
Shipping cost
orderTotal
express
Greater or Equal, Operators. 2 inputs, 1 output. step 2 of 7
>=
A
B
result
NOT, Operators. 1 input, 1 output. step 3 of 7
NOT
value
result
AND, Operators. 2 inputs, 1 output. step 4 of 7
AND
A
B
result
Select, Data. 3 inputs, 1 output. step 5 of 7
Select
condition
if true
if false
value
Select, Data. 3 inputs, 1 output. step 6 of 7
Select
condition
if true
if false
value
Return, Input / output. 2 inputs, 0 outputs. step 7 of 7
Return
shipping

Arrow keys: next or previous step in flow order. Alt with arrows: nearest step in that direction. Enter: open. Shift F10: more actions.

100%
Examplesrun live against the logic · 3/3 pass
PassedExampleInputOutput
Free shipping{"orderTotal":60,"express":false}{"shipping":0}
Express{"orderTotal":60,"express":true}{"shipping":15}
Small order{"orderTotal":20,"express":false}{"shipping":4.9}
Try it
Versions
In this package
Shipping cost (entry)