如何在 Shopware 6 中安装 B2B Suite?

How install B2B Suite in Shopware 6?

是否可以使用 Composer 在 Shopware 6 中安装 B2B Suite?

到目前为止我的方法是

composer require shopware/b2b

php bin/console plugin:install SwagB2bPlatform

但是当我尝试安装插件时这会导致错误

The class "SwagB2bPlatform\SwagB2bPlatform" is not found. Probably an class loader error. Check your plugin composer.json

有没有人有这方面的经验?我是否需要 运行 任何脚本来确保插件具有所有必要的资源?

Shopware 无法简单地要求专有插件。您不应该通过 vcs 使用 SwagB2bPlatform 作为作曲家存储库,因为所有需要的资产都在发布前打包。

您可以设置packages.friendsofshopware.com for your projects. This is a community driven project which provides a repository of all plugins in the community story. You are limited to plugins that you bought in the community store. Using this repository needs an extra entry in the repositories in your composer.json. After that you can just require any plugin that is assigned to your project. In the search you can find the plugin you look out for: https://packages.friendsofshopware.com/?producers=shopware%20AG&term=b2b