1 Installation of Customer Supportdesk for Magento 2
Customer Supportdesk requires a Magento 2 installation. Please make sure these requirements are met: http://devdocs.magento.com/guides/v2.0/install-gde/system-requirements.html
Step 1: Copy the Customer Supportdesk files
Unpack the Customer Supportdesk files and copy the Desk and DeskEmail directory to your /app/code/Cart2Quote directory.
(Note: Sometimes you need to create the code and the Customer Supportdesk folder if it doesn’t already exist)
Step 2: Add the email dependency
The DeskEmail module is dependent on Zend Mail module.
Execute the following code in your Magento Root (make sure you have composer installed):
composer require zendframework/zend-mail ~2.4.6
Step 3: Enable the Customer Supportdesk Module
To enable Customer Supportdesk you need to open your terminal and navigate to your Magento root directory. From your root directory execute:
php bin/magento module:enable Cart2Quote_Desk --clear-static-content
php bin/magento module:enable Cart2Quote_DeskEmail --clear-static-content
Step 4: Execute your database scripts
To make sure all setup scripts are executed, run the following command in your terminal from your Magento root directory:
php bin/magento setup:upgrade
Step 5: Compile dependency injection
php bin/magento setup:di:compile
(Note: This can take a couple of minutes and it can use a lot of memory, make sure to set max_execution_time = 600 and memory_limit = 512M. The last line should look like this: Generated code and dependency injection configuration successfully.)
Step 5b: DI configuration must be cleared before running compiler (optional)
If you don’t have this error in Step 4, you can skip this step.
If you have this error in Step 4, execute this command:
rm -rf var/generation/* var/cache/* pub/static/frontend/* pub/static/adminhtml/* var/page_cache/* var/di/* var/di
After this command, you can retry Step 4.
Step 6: Static content deploy
php bin/magento setup:static-content:deploy
(Note: This can take a couple of minutes, make sure that PHP has enough execution time in CLI, otherwise your design breaks. The last line should look like this: New version of deployed files: 1457687534)
Step 6: Reindex data
php bin/magento indexer:reindex