Skip to content

custom-attributes

Auto Added by WPeMatico

How to store the data of a “used_in_forms” attribute in the Checkout?

I’ve added an attribute to the Customer Addresses: <?php namespace DcCustomerSetup; use MagentoCustomerApiAddressMetadataInterface; use MagentoCustomerSetupCustomerSetupFactory; use MagentoEavModelEntityAttributeSetFactory as AttributeSetFactory; use MagentoFrameworkSetupModuleDataSetupInterface; use MagentoFrameworkSetupUpgradeDataInterface; use MagentoFrameworkSetupModuleContextInterface; class UpgradeData implements UpgradeDataInterface { protected $customerSetupFactory; protected $attributeSetFactory; public function __construct(CustomerSetupFactory $customerSetupFactory, AttributeSetFactory $attributeSetFactory)… Read More »How to store the data of a “used_in_forms” attribute in the Checkout?