Skip to content

Storefront Compatibility Package Installation

The Storefront Compatibility Package contains changes to the Adobe Commerce codebase that enable drop-in component functionality. On Adobe Commerce as a Cloud Service, it is installed and updated automatically.

PaaS only

Installation

Use this method to install the Storefront Compatibility Package using the Cloud infrastructure.

  1. On your local workstation, change to the project directory for your Adobe Commerce on cloud infrastructure project.

  2. Check out the environment branch to update using the Adobe Commerce Cloud CLI.

    magento-cloud environment:checkout <environment-id>
  3. Add the Storefront Compatibility module.

    Use the appropriate package version based on your Adobe Commerce version:

    For Adobe Commerce 2.4.7, run:

    composer require adobe-commerce/storefront-compatibility:4.7.10

    For Adobe Commerce 2.4.8, run:

    composer require adobe-commerce/storefront-compatibility:4.8.7

    To check the latest version of the Storefront Compatibility Package, go to the changelog.

  4. Update package dependencies.

    composer update "adobe-commerce/storefront-compatibility"
  5. Commit and push code changes for the composer.json and composer.lock files.

  6. Add, commit, and push the code changes for the composer.json and composer.lock files to the cloud environment

    git add -A
    git commit -m "Add module"
    git push origin <branch-name>

    Pushing the updates to the cloud environment initiates the Commerce cloud deployment process to apply the changes. Check the deployment status from the deploy log.

Update the package

Use the following procedure to update patch versions of the Storefront Compatibility Package.

  1. Run the following command to update the package:

    composer update adobe-commerce/storefront-compatibility
  2. Run the following commands to upgrade Adobe Commerce and clear the cache.

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