在Magento 2中安装扩展名 - 无应用/代码文件夹



我下载了付费扩展名,他们提供的安装步骤是:1.解压缩扩展2.上传应用程序/代码3.在CMD提示中扎根并运行: PHP垃圾箱/洋红色设置:升级 php bin/agento设置:静态续:部署 php bin/agento缓存:齐平

第一个问题是我的Magento版本没有应用/代码文件夹,我已经检查了此链接:

https://magento.stackexchange.com/questions/90913/how-to-now-to-install-custom-extension-in-magento2

但这也不起作用。我下载的扩展程序在解压缩时具有以下内容:

-- Block
-- etc
-- Gateway
-- Model
-- Observer
-- view
-- Changelog.md
-- composer.json
-- README.md
-- registeration.php

我尝试了以下步骤:

1. create a folder in root
2. and then took all content of extension in that folder
3. Then I ran commands:
php bin/magento setup:upgrade
php bin/magento setup:static-content:deploy
php bin/magento cache:flush

,但它不起作用。

请让我知道我缺少什么。预先感谢。

只需在应用程序文件夹中创建手动代码文件夹,然后将模块放在此处。结构必须是这样的:在您的应用/代码文件夹(您创建的(中,您有公司/模块文件夹(来自已复制的模块(。

运行 bin/magento设置:升级之后。

最新更新