jagdishram/module-customaddressfield

自定义地址字段

1.0.0 2023-04-24 06:22 UTC

This package is auto-updated.

Last update: 2024-09-24 10:31:27 UTC


README

``jag/module-customaddressfield``

主要功能

自定义地址字段

安装

* = 在生产环境中请使用 --keep-generated 选项

类型 1: 压缩文件

  • 将压缩文件解压到 app/code/Jag
  • 通过运行 php bin/magento module:enable Jag_CustomAddressField 启用模块
  • 通过运行 php bin/magento setup:upgrade 应用数据库更新*
  • 通过运行 php bin/magento cache:flush 清除缓存

类型 2: Composer

  • 将模块在 composer 仓库中可用,例如
    • 私有仓库 repo.magento.com
    • 公共仓库 packagist.org
    • 公共 GitHub 仓库作为 vcs
  • 通过运行 composer config repositories.repo.magento.com composer https://repo.magento.com/ 将 composer 仓库添加到配置中
  • 通过运行 composer require jagdishram/module-customaddressfield 安装模块 composer
  • 通过运行 php bin/magento module:enable Jag_CustomAddressField 启用模块
  • 通过运行 php bin/magento setup:upgrade 应用数据库更新*
  • 通过运行 php bin/magento cache:flush 清除缓存

配置

商店 > 配置 > 客户 > 客户配置 > 地址模板。在此处添加以下自定义字段代码,您想添加的位置:{{var district}}

规格

属性

  • CustomerAddress - 区 (district)