简体   繁体   English

无法安装 drupal 8 commerce checkout 模块

[英]Can't install drupal 8 commerce checkout module

I'm trying to install drupal 8 commerce checkout module, but I'm getting the error:我正在尝试安装drupal 8 commerce checkout 模块,但出现错误:

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)由于未满足的依赖关系,无法安装 Commerce Checkout: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?我找不到问题,它可能是什么以及如何解决它?

It looks like we have a soft-dependency issue on Commerce Product.看起来我们对 Commerce Product 有一个软依赖问题。 Please install Commerce Product first.请先安装Commerce Product。 This is an issue due to the default checkout summary.由于默认结帐摘要,这是一个问题。

我通过创建一个产品变体“默认”解决了这个问题 我在设置商业时删除了默认存在的变体。

You can install commerce module with all components using composer:您可以使用 composer 安装包含所有组件的 commerce 模块:

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

You also can install individual components with composer eg您还可以使用 Composer 安装单个组件,例如

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

Try to install this module in this way.尝试以这种方式安装此模块。 :) :)

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM