dmitrykazak / magento2-custom-option-default-value
此扩展允许您为 Magento 2 设置产品自定义选项的默认值
1.0.0
2020-02-02 11:28 UTC
Requires
- php: ~7.2.0|~7.3.0
This package is auto-updated.
Last update: 2024-09-11 18:34:42 UTC
README
Magento 2 Custom Option Default Value 扩展用于为产品设置自定义选项的默认值。
安装
通过 Composer 逐步安装 Magento 2 扩展
-
定位您的 Magento 2 项目根目录。
-
使用 Composer 安装 Magento 2 扩展
composer require dmitrykazak/magento2-custom-option-default-value
- 安装完成后,扩展
# Enable the extension and clear static view files $ bin/magento module:enable DK_CustomOptionDefaultValue --clear-static-content # Update the database schema and data $ bin/magento setup:upgrade # Recompile your Magento project $ bin/magento setup:di:compile # Clean the cache $ bin/magento cache:flush
手动(不推荐)
- 下载所需版本的扩展
- 解压文件
- 在
{root}/app/code/DK/CustomOptionDefaultValue
创建文件夹 - 将此文件夹中的文件复制到相应位置
概览
支持的自定义选项包括
- 下拉菜单
- 多选
- 单选框
- 复选框
支持
如果您遇到任何问题或错误,请在 GitHub 上打开一个 问题。