outeredge / edge-magento-module-base
5.0.13
2024-08-13 15:50 UTC
Requires
- php: ^8.1
- eliashaeussler/cache-warmup: *
- magento/product-community-edition: >=2.4.4
- outeredge/googlecloudstorage: ^2.0
- outeredge/magento-bulk-actions: ^1.0
- outeredge/magento-language-en_gb-module: ^1.0
- outeredge/magento-layout-module: ^3.4
- outeredge/magento-limitrole-module: ^1.0
- outeredge/magento-opentelemetry-module: ^1.0
Suggests
- outeredge/magento-disable-common: To remove commonly unused modules
- outeredge/magento-disable-graphql: To remove GraphQL modules when not in use
- dev-master
- 5.0.13
- 5.0.12
- 5.0.11
- 5.0.10
- 5.0.9
- 5.0.8
- 5.0.7
- 5.0.6
- 5.0.5
- 5.0.4
- 5.0.3
- 5.0.2
- 5.0.1
- 5.0.0
- 4.3.x-dev
- 4.3.2
- 4.3.1
- 4.3.0
- 4.2.2
- 4.2.1
- 4.2.0
- 4.1.15
- 4.1.14
- 4.1.13
- 4.1.12
- 4.1.11
- 4.1.10
- 4.1.9
- 4.1.8
- 4.1.7
- 4.1.6
- 4.1.5
- 4.1.4
- 4.1.3
- 4.1.2
- 4.1.1
- 4.0.x-dev
- 4.0.18
- 4.0.17
- 4.0.16
- 4.0.15
- 4.0.14
- 4.0.13
- 4.0.12
- 4.0.11
- 4.0.10
- 4.0.9
- 4.0.8
- 4.0.7
- 4.0.6
- 4.0.5
- 4.0.4
- 4.0.3
- 4.0.2
- 4.0.1
- 4.0.0
- 3.2.x-dev
- 3.2.1
- 3.2.0
- 3.1.x-dev
- 3.1.6
- 3.1.5
- 3.1.4
- 3.1.3
- 3.1.2
- 3.1.1
- 3.1.0
- 3.0.17
- 3.0.16
- 3.0.15
- 3.0.14
- 3.0.13
- 3.0.12
- 3.0.11
- 3.0.10
- 3.0.9
- 3.0.8
- 3.0.7
- 3.0.6
- 3.0.5
- 3.0.4
- 3.0.3
- 3.0.2
- 3.0.1
- 2.6.x-dev
- 2.6.40
- 2.6.39
- 2.6.38
- 2.6.37
- 2.6.36
- 2.6.35
- 2.6.34
- 2.6.33
- 2.6.32
- 2.6.31
- 2.6.30
- 2.6.29
- 2.6.28
- 2.6.27
- 2.6.26
- 2.6.25
- 2.6.24
- 2.6.23.1
- 2.6.23
- 2.6.22
- 2.6.21
- 2.6.20
- 2.6.19
- 2.6.18
- 2.6.17
- 2.6.16
- 2.6.15
- 2.6.14
- 2.6.13
- 2.6.12
- 2.6.11
- 2.6.10
- 2.6.9
- 2.6.8
- 2.6.7
- 2.6.6
- 2.6.5
- 2.6.4
- 2.6.3
- 2.6.2
- 2.6.1
- 2.6.0
- 2.5.9
- 2.5.8
- 2.5.7
- 2.5.6
- 2.5.5
- 2.5.4
- 2.5.3
- 2.5.2
- 2.5.1
- 2.5.0
- 2.4.9
- 2.4.8
- 2.4.7
- 2.4.6
- 2.4.5
- 2.4.4
- 2.4.3
- 2.4.2
- 2.4.1
- 2.4.0
- 2.3.2.1
- 2.3.2
- 2.3.1
- 2.3.0
- 2.2.1
- 2.2.0
- 2.1.11
- 2.1.10
- 2.1.9
- 2.1.8
- 2.1.7
- 2.1.6
- 2.1.5
- 2.1.4
- 2.1.3
- 2.1.2
- 2.1.1
- 2.1.0
- 2.0.4
- 2.0.3
- 2.0.2
- 2.0.1
- 2.0.0
- 1.0.6
- 1.0.5
- 1.0.4
- 1.0.3
- 1.0.2
- 1.0.1
- 1.0
- dev-test-change-order-status
- dev-fix-cms-page-error
- dev-update-readme
- dev-cookiebot-declaration
- dev-fix-preg_replace
- dev-merge-cookiebot-module
- dev-magento1
This package is auto-updated.
Last update: 2024-09-05 15:57:30 UTC
README
本模块为 Magento 2 提供以下有用功能
管理员
- 额外的小部件类型
- 图片选择器
- 文本字段
- 在 WYSIWYG 中启用
锚点
按钮 - 为 CMS 页面添加横幅图片 - 在
内容 > 页面
中添加上传横幅图片的选项,该图片可以拉到前端。 - 在管理员菜单中创建
创建
部分,以便快速操作- 创建新订单
- 创建产品
- 强制媒体 URL 对管理员始终为 NULL(即不使用 CDN)
SEO
- 规范 URL 改进
- 为所有 CMS 页面添加规范 URL
- 根据 Google 建议 在分类规范 URL 中包含分页
- 对于以下 常见查询字符串 设置 robots meta 标签为
NOINDEX/NOFOLLOW
- 例如列表排序、限制、商店代码等
- 搜索结果
- 产品评论列表
- 对于占位图图像强制返回 404 HTTP 响应
- 为 google.com/gstatic.com 添加预连接头
Cookiebot & Termly
- 当启用将 JS 移动到页脚时,不要将 Cookiebot 标签移动到页脚
- 除非 Cookiebot 已给予同意,否则阻止 YouTube cookie(默认启用)
- 用于在 Cookie 政策 CMS 页面上使用的 Cookiebot 声明模板
- 将 Termly 生成的 Cookie 政策导入到 Cookie 政策 CMS 页面上使用
API
/rest/V1/site_status/get
- 用于远程获取最近的配置更改和索引状态
开发者工具
- 辅助类
- 资产辅助类 - 获取资产
- 图像辅助类 - 获取媒体图像并进行调整大小、裁剪等。
- 配置辅助类 - 从 Magento 配置中获取值
- 控制台命令
outeredge:nuke
用于删除所有缓存和静态文件outeredge:config
列出所有最近的配置更改
- 支持更新的 MariaDB 版本
- 禁用 jQuery mutate 控制台消息
控制台命令
Cookiebot 声明
要将 Cookiebot cookie 声明表单添加到您的 Cookie 政策 CMS 页面,请将以下代码片段添加到 Magento 管理员中的 CMS 页面
{{block class="Magento\Framework\View\Element\Template" template="OuterEdge_Base::cookiebot/declaration.phtml"}}
Termly Cookie 政策
要将 Termly Cookie 政策添加到您的 Cookie 政策 CMS 页面,请将以下代码片段添加到 Magento 管理员中的 CMS 页面
{{block class="Magento\Framework\View\Element\Template" template="OuterEdge_Base::termly/cookie-policy.phtml"}}
多商店项目
将 multistore.php
添加到 composer.json
的自动加载/文件部分顶部,以允许在相同实例/存储库上为每个商店分别使用配置文件(以及因此数据库)。
- 添加到
composer.json
"autoload": {
"files": [
"vendor/outeredge/magento-base-module/multistore.php",
...
- 然后为每个创建单独的 env.php 文件,命名它们
env.php.STORE_CODE
,将STORE_CODE
替换为适用。