Can't install drupal 8 commerce checkout module

人走茶凉 提交于 2019-12-24 12:20:03

问题


I'm trying to install drupal 8 commerce checkout module, but I'm getting the error:

Unable to install Commerce Checkout due to unmet dependencies: core.entity_view_display.commerce_product_variation.default.summary (commerce_product.commerce_product_variation_type.default)

I can't find the problem, what it could be and how to fix it?


回答1:


It looks like we have a soft-dependency issue on Commerce Product. Please install Commerce Product first. This is an issue due to the default checkout summary.




回答2:


You can install commerce module with all components using composer:

cd /path/to/drupal8
composer require "drupal/commerce"

You also can install individual components with composer e.g

cd /path/to/drupal8
composer require "drupal/commerce_authnet"

Try to install this module in this way. :)




回答3:


I fixed this issue by creating a product variation "Default" I had deleted the variation that was there by default when setting up commerce.



来源:https://stackoverflow.com/questions/46694268/cant-install-drupal-8-commerce-checkout-module

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!