diff --git a/htdocs/product/card.php b/htdocs/product/card.php index 2c11b8efd86..135c4797153 100644 --- a/htdocs/product/card.php +++ b/htdocs/product/card.php @@ -1067,11 +1067,14 @@ else print $formproduct->select_measuring_units("surface_units","surface"); print ''; } - // Volume - print ''.$langs->trans("Volume").''; - print ''; - print $formproduct->select_measuring_units("volume_units","volume"); - print ''; + if (empty($conf->global->PRODUCT_DISABLE_VOLUME)) + { + // Volume + print ''.$langs->trans("Volume").''; + print ''; + print $formproduct->select_measuring_units("volume_units","volume"); + print ''; + } } // Units