1
Magento Enterprise 2.2.0中的adminhtml客户帐户表单中未显示客户属性
我已经创建了模块“ Wgac_Subscription”。我想创建自定义客户属性。它在admin中列出,如下图所示,但未以客户adminhtml形式显示。 Wgac / Subscription / Setup / InstallData.php <?php namespace Wgac\Subscription\Setup; use Magento\Eav\Setup\EavSetup; use Magento\Eav\Setup\EavSetupFactory; use Magento\Customer\Model\Customer; use Magento\Customer\Setup\CustomerSetupFactory; use Magento\Eav\Model\Entity\Attribute\Set as AttributeSet; use Magento\Eav\Model\Entity\Attribute\SetFactory as AttributeSetFactory; use Magento\Framework\Setup\InstallDataInterface; use Magento\Framework\Setup\ModuleContextInterface; use Magento\Framework\Setup\ModuleDataSetupInterface; class InstallData implements InstallDataInterface { private $eavSetupFactory; /** * @var CustomerSetupFactory */ protected $customerSetupFactory; /** * …