-
Notifications
You must be signed in to change notification settings - Fork 1
Home
This installation guide will help you setup the CreditClick Price Module in Magento2.
As a web shop owner you are very familiar with the orienting customer who ultimately does not buy the product. A common reason is that at that moment the customer does not have the money available or simply does not want to pay the amount in one go. This is a missed opportunity for both the consumer and the webshop.
Experience shows that only 5% of consumers return to your website to buy the product after leaving your page. In other words; 95% of potential buyers are not seen back. With offering instalment based payments or a continuous credit portfolio, you have reduced a significant reason for consumers not coming back.
The CreditClick Price Module enhances conversion by highlighting the estimated cost per month already on the product page and in the shopping cart ("Pay at once or pay X per month"). The estimated cost per month is calculated automatically and is explained to the consumer in compliance with the local credit regulation.
Please note that the CreditClick Price Module is only displayed on the product page when the product offered amount is within the limits of the country.
| Minimum amount | Maximum amount | |
|---|---|---|
The Netherlands |
€ 250,- |
€ 1000,- |
Germany |
€ 150,- |
€ 5000,- |
-
Check if your server has composer installed by running the following command:
composer –v
If your server doesn’t have the composer install, you can easily install it. https://getcomposer.org/doc/00-intro.md#installation-linux-unix-osx
-
Go to the Magento 2 root folder
-
Add CreditClick Price Module repository to composer:
composer config repositories.creditclick git git@github.com:CreditClick/PriceModuleMagento2.git
-
Install the module:
composer require creditclick/price_module:dev-master
-
Enable the module:
php bin/magento setup:upgrade php bin/magento cache:clean php bin/magento setup:static-content:deploy
-
To download the Magento 2 Price Module please visit our releases page on GitHub and download the archive with the latest version to your computer.
Figure 1. Download the archive at GitHub -
Extract the archive to
app/code/CreditClick/PriceModule -
Enable the module:
php bin/magento setup:upgrade php bin/magento cache:clean php bin/magento setup:static-content:deploy
-
Go to
app/codefolder -
Clone repository
-
Use HTTPS:
git clone https://github.com/CreditClick/PriceModuleMagento2.git CreditClick/PriceModule
-
Alternatively, use SSH:
git clone git@github.com:CreditClick/PriceModuleMagento2.git CreditClick/PriceModule
-
-
Enable the module:
php bin/magento setup:upgrade php bin/magento cache:clean php bin/magento setup:static-content:deploy
The repo.magento.com repository, where Magento® 2 and third-party component Composer packages are stored, requires authentication.
To provide secure authentication, we enable you to generate a pair of 32-character authentication tokens. You can use this tokens to access the repository.
You generate, access, delete and regenerate your keys using Magento® Marketplace.
-
Go to
Magento® Marketplace. -
Click
Sign Inand enter your login credentials.If you do not have a free account, click Create an Account.
-
After you log in, click
My Access Keys. -
Get your secure access keys on
Magento® Marketplace -
If you already have keys, use the
Public Keyas your user name and thePrivate Keyas your password. -
To create a new key pair, click
Create a New Access Key. -
When prompted, enter a descriptive name to identify the key pair.
-
Click
Generate New, and use thePublic Keyas your user name and thePrivate Keyas your password.
-
Go to menu
Stores→Settings→Configuration
Figure 2. CreditClick Price Module settings -
Enable on Catalog Category overview → will enable button:
Figure 3. Catalog Category overview -
Enable on Catalog Product detail → will enable button:
Figure 4. Catalog Product detail -
Enable on Catalog Search results → will enable button:
Figure 5. Catalog Search results -
Enable on Checkout Cart → will enable button:
Figure 6. Checkout Cart -
The Country option will set the country for which the offer is displayed. The offer is specific to this country.
-
You can also add your custom css to fit your own theme, for example:
.cart_totals .cc-wrapper .cc-btn {
margin-bottom: 10px;
}
.product .cc-wrapper .cc-btn {
margin-bottom: 10px;
}