Title: Nutrition Info for WooCommerce
Author: closemarketing
Published: <strong>June 21, 2021</strong>
Last modified: June 22, 2026

---

Search plugins

![](https://ps.w.org/nutrition-info-woocommerce/assets/banner-772x250.jpg?rev=3581327)

![](https://ps.w.org/nutrition-info-woocommerce/assets/icon-256x256.png?rev=3581327)

# Nutrition Info for WooCommerce

 By [closemarketing](https://profiles.wordpress.org/closemarketing/)

[Download](https://downloads.wordpress.org/plugin/nutrition-info-woocommerce.1.0.1.zip)

 * [Details](https://wordpress.org/plugins/nutrition-info-woocommerce/#description)
 * [Reviews](https://wordpress.org/plugins/nutrition-info-woocommerce/#reviews)
 *  [Installation](https://wordpress.org/plugins/nutrition-info-woocommerce/#installation)
 * [Development](https://wordpress.org/plugins/nutrition-info-woocommerce/#developers)

 [Support](https://wordpress.org/support/plugin/nutrition-info-woocommerce/)

## Description

**Nutrition Info for WooCommerce** lets you add complete nutritional data, ingredients,
and allergen information to each WooCommerce product. All data is entered directly
from the product edit screen and displayed on the frontend with a clean, accessible
design.

#### Features

**Nutritional information table**

Enter values per 100 g for all standard nutritional fields:

 * Energy (KJ/kcal)
 * Fat, saturated, monounsaturated and polyunsaturated fatty acids
 * Carbohydrate, sugars, polyols and starch
 * Dietary fiber
 * Protein
 * Salt
 * Vitamins and minerals

The table is rendered as a collapsible element so it takes no space by default.

**Ingredients**

A free-text ingredients field is displayed in a separate collapsible section below
the nutritional table.

**Allergen icons**

Choose which allergens apply to each product. Supported allergens (each with its
own SVG icon):

Alcohol, Almonds, Celery, Corn, Crustaceans, Egg, Fish, Gluten, Honey, Lupins, Milk,
Mollusks, Mushrooms, Mustard, Nuts, Organic, Peanuts, Sesame, Soy, Spices, Sugar,
Sulfates, Vegetables — plus a **Vegan** badge.

Icons are shown in the product loop (shop/archive pages) and on the single product
page.

**Flexible placement**

From WooCommerce  Settings  Nutrients you can choose where the nutritional table
and ingredients appear on the single product page:

 * Separate tab
 * Inside the description tab
 * After price
 * After excerpt
 * After “Add to Cart” button
 * After product metadata
 * Manual placement (hidden — use the `[nutritiontable]` shortcode)

**Shortcode**

Use `[nutritiontable]` to render the nutritional table anywhere on the page.

#### Requirements

 * WordPress 5.8+
 * WooCommerce 5.0+
 * PHP 7.4+

### Links

 * [Closemarketing](https://close.marketing)
 * [Plugin page](https://www.closemarketing.net/plugin/nutrition-info-woocommerce)

## Blocks

This plugin provides 2 blocks.

 *   Product nutritional information
 *   Product allergens

## Installation

 1. Upload the plugin folder to `/wp-content/plugins/` or install it through the WordPress
    plugin screen.
 2. Activate the plugin through the **Plugins** screen.
 3. Go to **WooCommerce  Settings  Nutrients** to configure the display position and
    styling options.
 4. Edit any product and fill in the **Nutritional Info** and **Composition & Allergens**
    tabs.

## FAQ

### Where do I enter the nutritional data?

In the product edit screen, two new tabs appear in the Product Data metabox: **Nutritional
Info** and **Composition & Allergens**.

### Can I place the table manually?

Yes. Set the position to “Manual placement (hidden)” in the settings and use the`[
nutritiontable]` shortcode wherever you need it.

### Are the allergen icons customisable?

The icons are SVG files stored in `includes/assets/allergens/`. You can replace 
any file with your own SVG keeping the same filename.

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“Nutrition Info for WooCommerce” is open source software. The following people have
contributed to this plugin.

Contributors

 *   [ closemarketing ](https://profiles.wordpress.org/closemarketing/)
 *   [ David Perez ](https://profiles.wordpress.org/davidperez/)
 *   [ Matías Quero ](https://profiles.wordpress.org/matiasquero/)
 *   [ Alejandro Castellón Martínez ](https://profiles.wordpress.org/alexcm13/)

“Nutrition Info for WooCommerce” has been translated into 2 locales. Thank you to
[the translators](https://translate.wordpress.org/projects/wp-plugins/nutrition-info-woocommerce/contributors)
for their contributions.

[Translate “Nutrition Info for WooCommerce” into your language.](https://translate.wordpress.org/projects/wp-plugins/nutrition-info-woocommerce)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/nutrition-info-woocommerce/),
check out the [SVN repository](https://plugins.svn.wordpress.org/nutrition-info-woocommerce/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/nutrition-info-woocommerce/)
by [RSS](https://plugins.trac.wordpress.org/log/nutrition-info-woocommerce/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.0.1

 * Fixed: Strings were not in English.

#### 1.0.0

 * Refactor: migrated to `CLOSE\NutritionInfo` namespace with Composer autoload (
   classmap).
 * New: `Hooks` class centralises all frontend hook registration.
 * New: `Allergens` class loads SVG icons from `includes/assets/allergens/` — no
   more inline SVG in PHP.
 * New: vegan badge shown separately before the product thumbnail in the shop loop.
 * New: position setting supports “inside description tab” option that appends nutrition
   and ingredients to the existing tab content.
 * Improvement: nutritional table and ingredients rendered as accessible collapsible
   elements.
 * Improvement: allergen icons include a label shown on hover.
 * Fix: Composer autoload switched from PSR-4 to classmap to support WordPress `
   class-*.php` filename convention.
 * Removed: `sass/` source folder (CSS is distributed as a compiled file).
 * Refactor: improved code structure, sanitization and escaping across all files.
 * New: PHPStan and PHP_CodeSniffer tooling added.
 * New: GitHub Actions workflow for linting and deployment.
 * Fix: variable sanitization and nonce verification on product meta save.

#### 0.1.0

 * Initial release.

## Meta

 *  Version **1.0.1**
 *  Last updated **3 days ago**
 *  Active installations **10+**
 *  WordPress version ** 5.8 or higher **
 *  Tested up to **7.0**
 *  PHP version ** 7.4 or higher **
 *  Languages
 * [English (US)](https://wordpress.org/plugins/nutrition-info-woocommerce/), [Spanish (Chile)](https://cl.wordpress.org/plugins/nutrition-info-woocommerce/),
   and [Spanish (Spain)](https://es.wordpress.org/plugins/nutrition-info-woocommerce/).
 *  [Translate into your language](https://translate.wordpress.org/projects/wp-plugins/nutrition-info-woocommerce)
 * Tags
 * [allergens](https://wordpress.org/plugins/tags/allergens/)[food](https://wordpress.org/plugins/tags/food/)
   [ingredients](https://wordpress.org/plugins/tags/ingredients/)[nutrition](https://wordpress.org/plugins/tags/nutrition/)
   [woocommerce](https://wordpress.org/plugins/tags/woocommerce/)
 *  [Advanced View](https://wordpress.org/plugins/nutrition-info-woocommerce/advanced/)

## Ratings

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/nutrition-info-woocommerce/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/nutrition-info-woocommerce/reviews/)

## Contributors

 *   [ closemarketing ](https://profiles.wordpress.org/closemarketing/)
 *   [ David Perez ](https://profiles.wordpress.org/davidperez/)
 *   [ Matías Quero ](https://profiles.wordpress.org/matiasquero/)
 *   [ Alejandro Castellón Martínez ](https://profiles.wordpress.org/alexcm13/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/nutrition-info-woocommerce/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](https://www.closemarketing.es/go/donate/)