Skip to main content

Installation

Requirements

Organizational Requirements

  • Access data for Private Composer Packagist (from twocream)

Technical Dependencies

Composer Dependencies

The following third-party packages are also required:

  • twocream/shopware-6-core-plugin

Installation Instructions

1. Add Composer Repository

Add the twocream Composer repository, e.g., in the composer.json file of your Shopware 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 Plugin

Run the following command to install the plugin via Composer:

composer require twocream/shopware-6-json-importer-plugin

3. Installation & Activation of the Plugin

Install the plugin with the following command:

php bin/console plugin:install TwocreamJsonImporter

Activate the plugin with the following command:

php bin/console plugin:activate TwocreamJsonImporter

4. Configuration in Admin Area

After installation, you will find the bundle's configuration options in the Shopware Admin area under Extensions > My Extensions > JSON-Import plugin

See also: Configuration

* * * * * shopware flock -n /tmp/json_queue.lock php /var/www/html/bin/console messenger:consume json --time-limit=50 --env=prod -q