Skip to content

Installation

Requirements

  • Magento / Adobe Commerce 2.4.4-p9 or higher
  • A valid license of Hyvä Themes and Hyvä Checkout or Hyvä Commerce
  • A valid license of Venta Theme
  • PHP 8.1 or newer

Installation

Before Installing Venta Theme, You should add the Hyvä Themes license keys to your repository:

# this command adds your key to your projects auth.json file
# replace yourLicenseAuthentificationKey with your own key
composer config --auth http-basic.hyva-themes.repo.packagist.com token yourLicenseAuthentificationKey
# replace yourProjectName with your project name
composer config repositories.private-packagist composer https://hyva-themes.repo.packagist.com/yourProjectName/

Theme Installation

Do not install Hyvä Theme or Hyvä Checkout directly within composer, these are dependencies of Venta Theme

Venta Theme keys also need to be set up. you should've received the keys below when purchasing your license:

# this command adds your key to your projects auth.json file
# replace yourUsername and yourPassword with your own keys
composer config --auth http-basic.composer.magebit.com yourUsername yourPassword
# replace yourProjectName with your project name
composer config repositories.magebitcom composer https://composer.magebit.com/yourProjectName

Then, install the theme metapackage:

composer require magebitcom/venta-theme-metapackage

Next, run the Magento installer:

bin/magento setup:upgrade

Compiling the Venta Theme styles:

npm --prefix vendor/magebitcom/magento2-venta-theme/web/tailwind ci
npm --prefix vendor/magebitcom/magento2-venta-theme/web/tailwind run build-prod

Navigate to the Content > Design > Configuration admin section and activate the Magebit/venta theme either on Global or Website level.

Next, if in developer mode, you should be able to clear cache and see Venta Theme on the frontend, but if running production mode, you'll need to compile the static content by running:

bin/magento setup:static-content:deploy

Basic Setup

Once the installation is complete, you can go trough the Base Setup steps to ensure proper configuration.