data-src=paas-only.md

Prerequisites

Installation

To install custom attributes in Adobe Commerce:

  1. Run the following command to install the modules:

    composer require magento/out-of-process-custom-attributes=^0.6.0  --with-dependencies
    

    To add support for B2B entities (companies and negotiable quotes), also install the B2B modules. This metapackage depends on the base metapackage, which Composer installs automatically.

    composer require magento/out-of-process-custom-attributes-b2b=^0.1.7 --with-dependencies
    
  2. Enable the new modules:

    bin/magento module:enable Magento_CustomAttributeSerializable
    bin/magento module:enable Magento_CustomAttributeSerializableGraphQl
    

    If you installed the B2B modules, enable them as well:

    bin/magento module:enable Magento_CustomAttributeSerializableB2b
    bin/magento module:enable Magento_CustomAttributeSerializableB2bGraphQl
    
  3. For on-premises installations, run the following command to upgrade Adobe Commerce and clear the cache.

    bin/magento setup:upgrade && bin/magento cache:clean