Install a third-party storefront theme

This topic describes how to install a third-party theme for a store.

To install a theme, you need to add its code to your instance code base, and then register it in the database. The way a theme is distributed determines how to do this:

The following sections contain more information about each installation flow.

Prerequisites

Set your application to the developer or default mode.

Manual install

To install a theme manually:

  1. Make sure that the directory structure you are copying is <VendorName>/<theme>. And all the theme files are in the <theme> directory.

  2. Copy this directory to the <installation dir>/app/design/frontend directory.

Composer install

To install the theme as composer package, follow the instructions in the Install, manage, and upgrade modules topic.

data-variant=info
data-slots=text
Composer-based themes are loaded from external sources and cannot be modified directly, whereas local themes are part of the project source code and therefore can be edited directly.

Marketplace extension install

If a theme is distributed on Commerce Marketplace, see Install the Extension.

Register a theme

After you create or install a theme, open the Admin or reload any Admin page. This way the theme gets registered and added to the database.

To make sure the theme is registered, in the Admin navigate to Content > Design > Themes. If a theme is registered, it is displayed in the list of available themes.

The registered theme in Admin