Skip to main content

Installation

Requirements

Organizational Requirements

  • Credentials for Private Composer Packagist (from twocream)

Technical Dependencies

Required Pimcore Bundles

The bundle requires the following additional Pimcore bundles:

Composer Dependencies

The following third-party packages are also needed:

  • twocream/pimcore-core-bundle

Installation Instructions

1. Add Composer Repository

Add the twocream Composer repository, for example, 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-product-attribute-bundle

3. Register Bundle

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

<?php

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

4. Install Class Definitions

Install the necessary class definitions for the bundle with the following command:

php bin/console twocream:product-attribute:install-class-definitions

5. Configuration in Admin Area

After installation, you will find the bundle's configuration options in the Pimcore admin area under twocream Bundle Configuration.


* * * * * php /var/www/html/bin/console twocream:queue --queueItems=product_attribute_recruitment