Step 1 for the Regular(composer) versions: (move to alternative step 1 if you purchased the development version)
To install the Cart2Quote regular version you need to open your terminal and navigate to your Magento root directory. Run:
composer require cart2quote/module-quotation-encoded
Continue to step 2...
Alternative Step 1 for the Development (FTP) version: (Skip this if you did not purchase the development version)
- Download the Cart2Quote Development Version zip file (sent to you by e-mail)
- Copy the contents to your Magento root directory
- Navigate to your root directory in your terminal and run: php bin/magento setup:upgrade
4. Enable the Cart2Quote Module:
Your module will be enabled by default after installation, but if you wish to make sure; open your terminal and navigate to your Magento root directory. From your root directory execute:
php bin/magento module:enable Cart2Quote_Quotation --clear-static-content
Enable the Cart2Quote automatic proposal module with the following command: (Since Version 126.96.36.199)
php bin/magento module:enable Cart2Quote_AutoProposal --clear-static-content
Continue to step 2...
Step 2: Clear the Cache
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: Execute your database scripts
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: 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 5: 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
After this step, Cart2Quote is successfully installed. Please find steps for configuring Cart2Quote below.
How to test if the installation was successful?
Step 1: Enable basic settings
First, start by enabling the basic features. This can be done by navigating to the following page in the backend: Stores -> Configuration -> Cart2Quote -> Quotation
Frontend Quotation Visibility: Yes,
Products Quotable by Default: Yes,
Add Button on Detail Page: Yes,
Add Button on Category Page: Yes,
Dynamic add to cart/quote buttons: Yes
Step 2: Test your front-end
Start by going to one of your category pages. Because we enabled "Product Quotable by Default" & "Add Button to Category page" all your products should have an "Add to Quote" button.
After navigating to the product page you'll see that the "Add to Quote" has also been added. This is because we also enabled the "Add Button to Product page" setting.
Now let's add the product to the quote and submit a quote request.
Step 3: test your backend
Now that you've made your first quote request let's check it out in the back-end. Start off by navigating to quotation overview: Sales -> Quotations
From here we can navigate to the quote we just created.
On this page, you can fully customize your quote request but for testing purposes let's just submit our quote request. After the quote has been submitted your customer will receive a proposal in his mailbox.
If your customer agrees to the proposal and clicks on "Proceed to checkout" the quote will be converted to regular order and your customer can follow the regular checkout.
Want to know more about other Cart2Quote features?
Please take a look at our feature comparison list.