This installation manual provides all information required to install the free Cart2Quote trial period, Cart2Quote Lite, Starter, Business & Enterprise module versions.
Prerequisites include: ✅ Magento installed. ✅ Composer installed.
Step 1 :
To install the Cart2Quote regular version you need to open your terminal and navigate to your Magento root directory. From there, run the following commands:
composer require cart2quote/module-quotation-encoded
--- AutoProposal Install: optional
composer require cart2quote/module-autoproposal
Step 2:
To avoid errors, clean the cache before your proceed. Magento 2.1.x:
rm -rf var/generation/* var/cache/* pub/static/frontend/* pub/static/adminhtml/* var/page_cache/* var/di/* var/di
If you're on Magento 2.2.x or higher run the following command:
rm -rf generated/code* generated/metadata/* pub/static/* var/cache* var/page_cache/* var/page_cache/* var/view_preprocessed/*
Step 3:
To make sure all setup scripts are executed, run the following command in your terminal's Magento root directory:
php bin/magento setup:upgrade
Step 4:
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 5:
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:
php bin/magento indexer:reindex
After this step, Cart2Quote is successfully installed. Please find steps for configuring Cart2Quote in the manual linked below.
Need to test whether you have installed the module correctly? See here for more information.