Skip to content
Marten Jansen edited this page Mar 3, 2020 · 10 revisions
logo rounded med

1. Before you start with the Price Module

1.1. Introduction

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,-

1.2. Compatibility of the Price Module

The CreditClick Price Module for Magento2 is compatible with:

  • Magento 2 versions: v2.1.0 - v2.2.6

2. Installing the Price Module

2.1. Install with Composer

  1. 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

  2. Go to the Magento 2 root folder

  3. Add CreditClick Price Module repository to composer:

    composer config repositories.creditclick git git@github.com:CreditClick/PriceModuleMagento2.git
  4. Install the module:

    composer require creditclick/price_module:dev-master
  5. Enable the module:

    php bin/magento setup:upgrade
    php bin/magento cache:clean
    php bin/magento setup:static-content:deploy

2.2. Install by uploading files

2.2.1. Download the module archive

  1. 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.

    6 download
    Figure 1. Download the archive at GitHub
  2. Extract the archive to app/code/CreditClick/PriceModule

  3. Enable the module:

    php bin/magento setup:upgrade
    php bin/magento cache:clean
    php bin/magento setup:static-content:deploy

2.2.2. Clone this repository

  1. Go to app/code folder

  2. Clone repository

    1. Use HTTPS:

      git clone https://github.com/CreditClick/PriceModuleMagento2.git CreditClick/PriceModule
    2. Alternatively, use SSH:

      git clone git@github.com:CreditClick/PriceModuleMagento2.git CreditClick/PriceModule
  3. Enable the module:

    php bin/magento setup:upgrade
    php bin/magento cache:clean
    php bin/magento setup:static-content:deploy

2.3. Install via Magento® Marketplace

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.

2.3.1. To get your authentication keys:

  1. Go to Magento® Marketplace.

  2. Click Sign In and enter your login credentials.

    If you do not have a free account, click Create an Account.

  3. After you log in, click My Access Keys.

  4. Get your secure access keys on Magento® Marketplace

  5. If you already have keys, use the Public Key as your user name and the Private Key as your password.

  6. To create a new key pair, click Create a New Access Key.

  7. When prompted, enter a descriptive name to identify the key pair.

  8. Click Generate New, and use the Public Key as your user name and the Private Key as your password.

3. Configuring the Price Module

  1. Go to menu StoresSettingsConfiguration

    1 settings
    Figure 2. CreditClick Price Module settings
  2. Enable on Catalog Category overview → will enable button:

    2 overview
    Figure 3. Catalog Category overview
  3. Enable on Catalog Product detail → will enable button:

    4 detail
    Figure 4. Catalog Product detail
  4. Enable on Catalog Search results → will enable button:

    3 search
    Figure 5. Catalog Search results
  5. Enable on Checkout Cart → will enable button:

    5 cart
    Figure 6. Checkout Cart
  6. The Country option will set the country for which the offer is displayed. The offer is specific to this country.

  7. 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;
}