Your nutrition labels aren’t working as expected
Nothing is more frustrating than spending time setting up nutrition data only to find it’s not displaying correctly or causing conflicts. This guide helps you diagnose and fix the most common issues quickly.
Quick Diagnostic Checklist
Before diving into specific problems, run through this checklist:
- [ ] Plugin is activated and up to date
- [ ] WooCommerce is activated and compatible
- [ ] Product has “Enable Nutrition Information” checked
- [ ] At least one nutrition field has a value
- [ ] Serving size is defined (especially for FDA format)
- [ ] No PHP errors in debug log
Display Issues
Nutrition Tab Not Appearing
Problem: No nutrition tab shows on product page
Possible Causes & Solutions:
- Nutrition not enabled for product
- Edit the product → Nutrition tab → Check “Enable Nutrition Information”
- No nutrition data entered
- Enter at least one nutrition value (energy, protein, fat, etc.)
- Theme conflicts
- Switch to a default theme temporarily to test
- Check if theme overrides WooCommerce templates
- Plugin conflicts
- Deactivate other plugins to identify conflicts
- Common conflicts: custom product tab plugins
Debug Steps:
add_action( 'wp_footer', function() {
global $product;
if ( $product ) {
$nutrition_enabled = get_post_meta( $product->get_id(), '_nw_nutrition_enabled', true );
$nutrition_data = get_post_meta( $product->get_id(), '_nw_nutrition_data', true );
echo "<!-- Nutrition Debug: Enabled={$nutrition_enabled}, Data=" . json_encode($nutrition_data) . " -->";
}
});
Code language: PHP (php)
Empty Nutrition Table
Problem: Tab appears but table is empty or shows “no information available”
Solutions:
- Check data format
- Ensure numeric fields contain numbers, not text
- Remove any currency symbols or units from input fields
- Verify input method
- If data source is “per 100g”, select “Per 100g” input method
- If data source is “per serving”, select “Per Serving” input method
- Clear caching
- Clear any site caching (WP Rocket, W3 Total Cache, etc.)
- Clear browser cache
Problem: Selected FDA format but seeing default table or no table
Root Cause: FDA format requires valid serving size
Solution:
- Edit the product
- Go to Nutrition tab
- Enter both serving size amount AND unit
- Ensure amount is greater than 0
- Save product
Example:
- Serving Size Amount:
30
- Serving Size Unit:
g
Values Look Wrong
Problem: Displayed values don’t match your input
Diagnostic Questions:
- Are you using FDA format?
- FDA applies mandatory rounding rules
- 38.24 calories → 40 calories (rounded to nearest 10)
- This is correct behavior, not a bug
- Input method mismatch?
- Entered “per 100g” data but selected “per serving” method
- Or vice versa
- Unit conversion confusion?
- Imperial setting converts g to oz for display
- Check your display unit setting in WooCommerce → Settings → Nutrition
Fix: Match your input method to your data source, verify display units setting.
Variable Product Issues
Variations Not Showing Different Nutrition
Problem: All variations show same nutrition data
Cause: Variation overrides not enabled
Solution:
- Edit the variable product
- Go to Variations tab
- Expand the variation that should be different
- Check “Override product nutrition information for this variation?”
- Enter variation-specific data
- Save
Data Entry Problems
Rich Text Editor Issues (Ingredients/Allergens)
Problem: Editor not loading or saving rich text content
Solutions: Try changing browsers to se if it works in another, and report your findings to support. We want to keep track and of these issues.