IT, Wordpress

Allergens for Woocommerce

Details

  • CMS: WordPress
  • Type: Plugin

I developed this plugin because a client who has a restaurant did not find an easy way to display them in his product catalog created with Woocommerce.

Tabla de Contenidos

Changelog:

  • 1.3.2 Added the function treceafw_show_allergens_out($product), to allow developers to display allergens in their plugin/theme.
    To avoid problems you can add a check before:

    <?php
    if ( !function_exists( 'treceafw_show_allergens' ) ) {
        return;
    } else {
        echo treceafw_show_allergensout($product);
    }
    ?>
  • 1.3.1 CSS fixes and now does not replace the short description of the product.
  • 1.3 Added Allergens for variations and a customized tab for allergens.
  • 1.2 Better code structure and function names.
  • 1.1 Added some missing icons.
  • 1.0 Plugin Release

Credits

Allergen Icons by Icon Icons