Skip to content

Search is only available in production builds. Try building and previewing the site to test it out locally.

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.

    Terminal window
    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:

    Terminal window
    composer require adobe-commerce/storefront-compatibility:4.7.6

    For Adobe Commerce 2.4.8, run:

    Terminal window
    composer require adobe-commerce/storefront-compatibility:4.8.4

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

  4. Update package dependencies.

    Terminal window
    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

    Terminal window
    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:

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

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