When you sell products with multiple options—different flavors, sizes, or formulations—each variation often has unique nutritional values. A chocolate protein bar has different nutrition than vanilla. A 250ml drink contains half the nutrients of a 500ml bottle. This guide shows you how to handle these scenarios professionally.
Understanding Variable Product Nutrition
How It Works
The plugin uses a parent-child inheritance system:
- Parent Product: Sets default nutrition for all variations
- Variation Override: Specific variations can have their own nutrition data
- Fallback Logic: Variations without overrides use parent nutrition
- Dynamic Display: Customers see nutrition for their selected variation
This approach minimizes data entry while ensuring accuracy.
Setting Up Variable Product Nutrition
The parent product serves as your baseline:
- Edit your variable product
- Navigate to Product Data → Nutrition tab
- Check “Enable Nutrition Information”
- Enter nutrition data that applies to most variations
- Set appropriate serving size and input method
- Save the product
Best Practice: Use your most common or “standard” variation as the parent data.
Step 2: Override Specific Variations
For variations with different nutrition:
- Go to Product Data → Variations tab
- Expand the variation that needs custom nutrition
- Scroll to the nutrition section
- Check “Override product nutrition information for this variation?”
- Enter the specific nutrition data for this variation
- Save the variation
Note: Only override when nutritionally different – this saves maintenance effort.
Real-World Setup Examples
Example 1: Protein Bars (Different Flavors)
Product: Premium Protein Bar
Variations: Chocolate, Vanilla, Strawberry
Parent Setup (Vanilla – most popular):
- Serving Size: 60g
- Input Method: Per Serving
- Energy: 1046 kJ
- Protein: 20g
- Fat: 8g
- Carbohydrates: 15g
Chocolate Override (higher calories):
- Override enabled ✓
- Energy: 1130 kJ
- Protein: 20g
- Fat: 10g
- Carbohydrates: 16g
Strawberry Variation:
- No override (uses parent nutrition – same as vanilla)
Result:
- Vanilla and Strawberry show identical nutrition
- Chocolate shows its specific values
- Minimal data duplication
Example 2: Beverages (Different Sizes)
Product: Fresh Orange Juice
Variations: 250ml, 500ml, 1L
Strategic Approach:
Parent Setup (nutritional baseline):
- Input Method: Per 100ml
- Energy: 180 kJ per 100ml
- Vitamin C: 40mg per 100ml
- Sugars: 9g per 100ml
250ml Override:
- Override enabled ✓
- Input Method: Per Serving
- Serving Size: 250ml
- Energy: 450 kJ (total for bottle)
- Vitamin C: 100mg (total for bottle)
- Sugars: 22.5g (total for bottle)
500ml Override:
- Override enabled ✓
- Input Method: Per Serving
- Serving Size: 500ml
- Energy: 900 kJ (total for bottle)
- Vitamin C: 200mg (total for bottle)
- Sugars: 45g (total for bottle)
1L Override:
- Override enabled ✓
- Input Method: Per Serving
- Serving Size: 1000ml
- Energy: 1800 kJ (total for bottle)
- Vitamin C: 400mg (total for bottle)
- Sugars: 90g (total for bottle)
Result: Each size shows appropriate total nutrition for that container.
Example 3: Mixed Override Strategy
Product: Gourmet Granola
Variations: Original, Chocolate Chip, Dried Fruit, Nuts & Seeds
Smart Setup:
Parent (Original):
- Standard granola nutrition
Chocolate Chip Override:
- Higher sugar and fat due to chocolate
Dried Fruit & Nuts & Seeds:
- No overrides (similar enough to original)
Benefits:
- Only maintain data where it actually differs
- Reduces errors and update workload
- Customers get accurate information
Customer Experience
Frontend Display Behavior
Before Selection:
- No nutrition displayed (waiting for customer choice)
- May show message “Select options to view nutrition”
After Variation Selection:
- Appropriate nutrition table appears instantly
- Shows override data if set, parent data if not
- Updates dynamically as customer changes selections
In Nutrition Tab:
- Dedicated tab shows all nutrition information
- Parent nutrition with explanatory text
- List of variations with specific data
- Clear labeling of which nutrition applies to which variation
Mobile Responsiveness
The plugin ensures nutrition displays well on mobile:
- Tables adapt to narrow screens
- Font sizes adjust appropriately
- Touch-friendly interaction
- Quick loading times
Data Management Best Practices
Planning Your Structure
Before entering data:
- List all variations and their nutritional differences
- Identify the most common variation for parent data
- Group similar variations that can share nutrition data
- Plan your input method consistently
- Document your approach for future reference
Integration with Other Features
WooCommerce Product Bundles
Variable products can be part of bundles:
- Bundle nutrition displays individual variation nutrition
- Customer sees total bundle + individual item breakdown
- Variation selection within bundle updates nutrition display
Variable products with proper nutrition setup provide customers with the accurate information they need while maintaining efficient data management for store owners. Take time to plan your structure before implementation for best results.