# Prerequisites

## **ConvertixCheckout for Hyvä Theme**

<p class="callout warning"><span style="white-space: pre-wrap;">This module is compatible only with </span>[**Hyvä Theme**](https://hyva.io/). Luma-based storefronts are not supported.</p>

#### Before Installation

<p class="callout info"><span style="white-space: pre-wrap;">Before installing the module, </span>**it is strongly recommended to create a full backup of your Magento instance.**</p>

##### Backup your Magento 2 instance

<span style="color: rgb(34, 34, 34); background-color: rgb(255, 255, 255);">The backup feature is disabled by default. To enable, enter the following CLI command:</span>

```shell
php bin/magento config:set system/backup/functionality_enabled 1
```

**Then:**

```shell
php bin/magento setup:backup --code --db
```

##### Restoring Magento 2 instance

**First run:**

```
php bin/magento info:backups:list
```

To check your backups saved into filesystem.

**Then run:**

```
php bin/magento setup:rollback -f 1434133011_filesystem.tgz -d 1434133011_db.sql
```

<p class="callout info"><span style="white-space: pre-wrap;">Replace </span>**14134133011\_**<span style="white-space: pre-wrap;"> with your backup file name.</span></p>

##### Composer repository file backup

```
cp composer.json composer.json.bak
cp composer.lock composer.lock.bak
```

#### Recommended Testing Environment

Before deploying the module to a production store, it is strongly recommended to test the installation in a development or staging environment first.

Recommended environments:

- Development domain
- Staging server
- Local Magento instance

This helps validate:

- Theme compatibility
- Third-party module compatibility
- Checkout behavior
- JavaScript functionality
- Customizations specific to the store

Example:

```
dev.yourstore.com
staging.yourstore.com
```