Open Footprint - Builder

Use our new food repo Profile Object label version which includes a flexible Layout config using json.

Example #2

Giving specific nutrition label values and hiding some of the parts of the nutrition label

$('#test2').nutritionLabel({
    showServingUnitQuantity : false,
    itemName : 'Bleu Cheese Dressing',
    ingredientList : 'Bleu Cheese Dressing',

    decimalPlacesForQuantityTextbox : 2,
    valueServingUnitQuantity : 1,

    allowFDARounding : true,
    decimalPlacesForNutrition : 2,

    showPolyFat : false,
    showMonoFat : false,

    valueCalories : 450,
    valueFatCalories : 430,
    valueTotalFat : 48,
    valueSatFat : 6,
    valueTransFat : 0,
    valueCholesterol : 30,
    valueSodium : 780,
    valueTotalCarb : 3,
    valueFibers : 0,
    valueSugars : 3,
    valueProteins : 3,
    valueVitaminD : 12.22,
    valuePotassium_2018 : 4.22,
    valueCalcium : 7.22,
    valueIron : 11.22,
    valueAddedSugars : 17,
    valueCaffeine : 15.63,
    showLegacyVersion : false
});
TO DO: Use the following json from loadDataFood() to display a Nutritionix Label using our fork