Log in Start free trial β
Reference
Fontdue.jsGraphQLDemo templateGuides
WebflowWordpress + Lay ThemeWordpress + SempliceNext.js (App Router)Next.js (Pages Router)Information
Full-service website developmentManaging your font catalogVariable fontsFont licensesOrder variablesWebfontsCross-origin accessPayments with StripeTaxTest fontsTest modeManage your Fontdue subscriptionLaunching your siteTroubleshootingCustomize the Address fieldsreCAPTCHAUpdates
Whatβs newUpdate 001Update 002Update 003Update 004Update 005Order variables
Order variables apply a multiplier to the entire order based on the customerβs selection. Use this to add a βCompany sizeβ variable to your cart, among other things.
Variable types
- Select β Dropdown with predefined options, each with its own multiplier.
- Boolean β On/off toggle that applies a single multiplier.
When multiple variables are active, their multipliers combine multiplicatively. A 2.0x company size and a 0.75x non-profit discount results in a 1.5x total multiplier. Multipliers are locked in at the time of selection, so later changes wonβt affect past orders.
Setting up a βCompany Sizeβ variable
- Go to Settings > Order Variables > Create and select the Company Size preset.
- Adjust the tiers to fit your pricing. Each option has a label (e.g.Β β1-5 employeesβ) and a multiplier (e.g.Β
2.0for double the base price). - Remove tiers you donβt need or add new ones.
- Save. ## Boolean variables: discounts and add-ons
A boolean variable is a simple toggle. Set the multiplier below 1.0 for a discount, or above 1.0 for a surcharge.
Use the description field to explain eligibility or what usage scenario requires the add-on.
- Order variables
- Variable types
- Setting up a βCompany Sizeβ variable