Skip to main content

Installation

Prerequisites

Organizational Requirements

  • Credentials for Private Composer Packagist (by twocream)

Technical Dependencies

Composer Dependencies

The following third-party packages are also required:

  • twocream/pimcore-core-bundle

Installation Instructions

1. Add Composer Repository

Add the twocream Composer repository, e.g., in the composer.json file of your Pimcore installation:

{
"config": {
"http-basic": {
"twocream.repo.packagist.com": {
"username": "{CUSTOMER_ID}",
"password": "{CUSTOMER_SECRET}"
}
}
},
"repositories": [{
"type": "composer",
"url": "https://twocream.repo.packagist.com/{CUSTOMER_ID}/"
}]
}
Note

Replace {CUSTOMER_ID} and {CUSTOMER_SECRET} with the provided license information.


2. Install Bundle

Run the following command to install the bundle via Composer:

composer require twocream/pimcore-shopware-connector-bundle

3. Register Bundle

Add the bundle to config/bundles.php to activate it:

<?php

return [
// ...
\Twocream\ShopwareConnectorBundle\TwocreamShopwareConnectorBundle::class => ['all' => true],
// ...
];

4. Install the Bundle

Install the bundle with the following command:

php bin/console pimcore:bundle:install TwocreamShopwareConnectorBundle

In the project's composer.json, the following entry should be added under "scripts" for the installation process:

"scripts": {
"post-install-cmd": [
"[ ! -f vendor/autoload.php ] || $PHP_BINARY bin/console twocream:shopware-connector:reload-permissions",
],
},

Alternatively, ensure that this command is executed during every code deployment or when making changes to the bundle YAML configuration.


5. Configuration in Admin Area

After installation, you will find the bundle's configuration options in the Pimcore Admin Area under Twocream Bundle Configuration

See also: Configuration

* * * * * php /var/www/html/bin/console twocream:shopware-connector:queue