I have installed the Commerce module but when I want to enable it, it does not give me the opportunity to check the checkbox, do you know how I can solve it?

  • Welcome to Drupal Answers! Did you install the module via composer? If not, maybe a dependency is missing? But that should be mentioned in the "Extend" page or if you use drush it should be reported in the terminal.
    – berliner
    Nov 5, 2023 at 21:39
  • As the project page states, Commerce 2.x should only be installed via Composer. The zip files on this page are provided for informative purposes only.
    – No Sssweat
    Nov 6, 2023 at 6:57
  • thank you very much, I'm not very expert, where can I find the composer? Nov 6, 2023 at 22:13
  • Get composer: getcomposer.org, how it integrates with Drupal: drupal.org/docs/develop/using-composer/manage-dependencies
    – berliner
    Nov 6, 2023 at 22:31

1 Answer 1



If you install the module manually then module dependencies are not getting installed automatically. Some required dependent modules might be missing. If you add these dependent missing modules manually then it works.

Using composer

If you install the module using composer then that module is installed with their dependencies, and there is no need to manually install the dependency modules.

For best practices use composer for module installation.

Refer to this documentation for the installation of the commerce module : https://docs.drupalcommerce.org/commerce2/developer-guide/install-update/installation

Also refer to this document for installing modules using composer: https://modulesunraveled.com/drupal-8-composer-and-configuration-management/installing-and-uninstalling-modules-composer

Not the answer you're looking for? Browse other questions tagged or ask your own question.