Let me walk you through a COMPLETE, realistic example from start to finish. You’re selling custom t-shirts and need dynamic pricing based on style, size, print type, quantity, and add-ons. Here’s exactly how to set it up:
📋 STEP 1: Basic Info Tab
Calculator Name: Custom T-Shirt Price Calculator
Description: Configure your custom t-shirt and get an instant price quote
Assignment Strategy: Category Calculator
Select Categories: Check “Custom T-Shirts” and “Apparel”
🎨 STEP 2: Fields Tab – Create Your Input Fields
Click “Add Field” for each one and configure like this:
Field #1: T-Shirt Style (Dropdown)
Field Type: Dropdown
Label: “Choose Your T-Shirt Style”
Field Key: tshirt_style
Required: Yes
Options:
Basic Cotton (value: basic, price: 0) – This is our base
Premium Soft Blend (value: premium, price: 5)
Vintage Distressed (value: vintage, price: 8)
Field #2: Size (Dropdown)
Field Type: Dropdown
Label: “Select Size”
Field Key: size
Required: Yes
Options:
Small (value: s, price: 0)
Medium (value: m, price: 0)
Large (value: l, price: 0)
XL (value: xl, price: 2)
2XL (value: 2xl, price: 4)
3XL (value: 3xl, price: 6)
Field #3: Print Type (Radio Buttons)
Field Type: Radio Buttons
Label: “Choose Print Method”
Field Key: print_type
Required: Yes
Options:
Screen Print (value: screen, price: 0) – Standard option
The formula uses your field keys directly to reference their values. Just type the field key name as-is — no special characters needed. Here’s what each part means:
15 = Base price for any t-shirt
tshirt_style = Adds $0 for Basic, $5 for Premium, or $8 for Vintage
size = Adds $0 for S/M/L, $2 for XL, $4 for 2XL, $6 for 3XL
print_type = Adds $0 for Screen, $3 for DTG, or $5 for Vinyl
rush_order = Adds $15 if checked, $0 if not checked
gift_packaging = Adds $5 if checked, $0 if not checked
quantity = The number customer enters (multiplies the whole total)
📊 Example Calculation:
Customer orders: Premium Soft Blend, XL, DTG Print, Quantity 3, with Rush Order
Since we chose “Category Calculator” in Step 1, it’s already assigned to your Custom T-Shirts category
Go to any product in that category and boom – your calculator is live!
✅ STEP 6: Don’t Forget!
Remember the TWO critical requirements from the Common Issues section:
Your calculator HAS fields (we added 8!) ✅
Your WooCommerce product MUST have a base price set (go to each product and set regular price to any number like $10 – the calculator will replace it) ✅
🎉 Result:
Your customers now see a beautiful, modern calculator that walks them through choosing their t-shirt style, size, print method, and quantity. The price updates in real-time as they make selections. When they hit “Add to Cart”, the custom price and ALL their selections are saved with the order!