Read More
Menu Close

    Magento 2 Akeneo Tier Pricing

    Introduction

    With the help of this Akeneo Connector Add-On, you can manage tier pricing information in Akeneo for simple and variant products. Now you can export the advanced tier pricing information from Akeneo PIM to Magento 2 store.

    Please Note:

    Watch the below video tutorial to understand the extension workflow:

    Basic Requirements

    • This module works with Akeneo 2.0.x, 2.1.x, 2.2.x, 2.3.x, 3.0.x, 3.1.x, 3.2.x, 4.0.x and 5.0.x. Download Akeneo from here
    • Node and Yarn packages need to be installed.
    • This module is compatible with the Akeneo community and Enterprise(Flexibility) edition.
    • If you want to use this extension on Akeneo EE Serenity mode, please contact us.
    • For the Akeneo installation, your Akeneo server should meet these system requirements.

    Features

    • UI provided to manage the Tierpricing at Akeneo simple/variant products.
    • Export the tier Pricing to the Magento 2 store.
    • The admin can enter the quantity for a product on which tier pricing will be applicable.
    • The admin can select the website and the Tierpricing will be applied only for the products of that website.
    • All the active websites on the configured Magento2 store will be dynamically fetched.
    • This module is compatible with latest Akeneo version 5.0.x
    • The admin can select the customer group for which the Tierpricing will be applicable.
    • The admin can select a Fixed/Discount price type for applying the tier price.
    • Create product Tier pricing In Akeneo then export to Magento using Quick Export Job or any export job.
    • The admin can filter the products to export tier pricing at Magento 2 store.

    Magento2 Credentials

    For the Magento2 credentials setup, you can follow our Akeneo Magento2 user guide. Click here. Akeneo Magento2 User Guide

    Module Installation for Version 4.0.x to 5.0.x

    1- Composer Installation

    Read This Blog

    Searching for an experienced
    Akeneo Company ?
    Read More

    2- Manual Installation

    Magento Akeneo Connector Installation:

    Please follow these steps for installing Magento 2 Akeneo Connector Add-on module in your Akeneo PIM platform.

    Step 1 – Unzip the respective extension zip then merge the “src” folder into the akeneo project root directory.

    src-trier-pricing

    Step 2 – After that goto config/Bundles.php then add a line:

    Webkul\Magento2TierPricingBundle\Magento2TierPricingBundle::class => ['all' => true]
    app-kernal-tier-pricing

    in the return array.

    Step 3 – Copy the “config” folder into the akeneo project root directory for routing.

    conf-tier-pricing

    Step 4. After that, run this command after SSH to your Akeneo server by terminal then navigating to the Akeneo installation directory (ex. cd /opt/bitnami/apps/akeneo/htdocs)

    php bin/console ca:cl --env=prod && php bin/console magentotierprice:setup:install --env=prod

    Step 5. If you are using php-fpm. Then you need to restart the php-fpm services and apache web server.

    For Akeneo 5

    sudo service php-fpm7.4 restart

    For Akeneo 4

    sudo service php-fpm7.3 restart

    To run the Quick export in Akeneo 5.0.x, you need to run the below command.

    Install composer dependency

    php -d memory_limit=4G /usr/local/bin/composer --prefer-dist --no-scripts require navneetbhardwaj/akeneo-quickexport-configurator;

    After that, register bundle in config/bundles.php

    return [
        \WebkulQuickExportConfiguratorBundle\QuickExportConfiguratorBundle::class => ['all' => true],
    ];

    Define routing to create a file in the config/routes/wk_quick_export.yml

    wk_quick_expoort:
        resource: "@QuickExportConfiguratorBundle/Resources/config/routing.yml"
        prefix: /

    Docker Installation Command :

    For Akeneo 5

    alias docker_php='docker-compose run -u www-data --rm php php';
    alias docker_yarn='docker-compose run -u node --rm node yarn';
    docker_php bin/console cache:clear --env=prod;
    docker_php bin/console pim:installer:assets --symlink --clean --env=prod;
    docker_php bin/console d:s:u --force;
    docker_yarn run webpack;
    docker_yarn run update-extensions;
    docker_yarn run less;

    For Akeneo 4

    alias docker_php='docker-compose run -u www-data --rm php php';
    alias docker_yarn='docker-compose run -u node --rm node yarn';
    docker_php bin/console cache:clear --env=prod;
    docker_php bin/console pim:installer:assets --symlink --clean --env=prod;
    docker_php bin/console d:s:u --force;
    docker_yarn run webpack;
    docker_yarn run less;

    Module Installation fo Version 2. x to 3. x

    Magento Akeneo Connector Installation:

    Please follow these steps for installing Magento 2 Akeneo Connector Add-on module in your Akeneo PIM platform.

    After that, unzip the respective extension zip then merge the “src” folder into the Akeneo project root directory.

    Step 1. Goto app/AppKernel.php then add below line :

    new Webkul\Magento2TierPricingBundle\Magento2TierPricingBundle(), 

    in function registerProjectBundles()

    Installation1

    Step 2. Goto app/config/config.yml then add these lines at top of the file

    Version Akeneo 2.x

    { resource: "@Magento2TierPricingBundle/Resources/config/config.yml" }

    Version Akeneo 3.x

    { resource: "@Magento2TierPricingBundle/Resources/config/3.x/config.yml" }
    Installation2

    Step 3. Goto app/config/routing.yml then add these lines at top of the file

    magento2_tier_pricing:
    
    resource: "@Magento2TierPricingBundle/Resources/config/routing.yml"
    
    prefix:   / 
    Installation3

    Step 4. After that, run this command after SSH to your Akeneo server by terminal then navigating to Akeneo installation directory (ex. cd /opt/bitnami/apps/akeneo/htdocs)

    php bin/console ca:cl --env=prod && php bin/console magentotierprice:setup:install --env=prod

    Step 5. If you are using php-fpm. Then you need to restart the php-fpm services and apache web server.

    sudo service php-fpm7.2 restart

    Common Issues After Installation

    It might happen that even after proper installation, upon opening your Akeneo admin dashboard, you see a loading screen. In that case, do check for the following solution:

    • Webpack Installation: If you get the below error:
    Webpack error
    • It means that web pack is not installed in your system. Run the following command
    npm install --save-prod webpack 
    npm install
    • Module routing.yml is not configured properly. Re-check the routing.yml file as mentioned in the 3rd step of Module Installation
    • Clear your browser cache.

    Setup Credential in Akeneo

    Once successfully installing the Akeneo Magento2 connector and Akeneo TierPricing for the Magento2 module in Akeneo, then you need to set up the Magento API credentials in Akeneo.

    Webkul-Magento2-Connector-Configuration-3

    Please log into Akeneo after that follow Magento 2 Connector>Setup Credentials. In Hostname, you need to enter your website URL after that enter the Magento API Integration Tokens as created.

    • Hostname
    • Access Token
    Webkul-Magento2-Connector-Configuration-4

    For more details about the setup credentials in Akeneo, After that, you can refer Akeneo Magento2 connector user guide. Click here to know more. Akeneo Magento2 Connector

    Video Tutorial

    Tier Pricing in Akeneo

    Tier Pricing can be applied for simple and variant products from Akeneo to Magento2.

    Note: Akeneo Magento2 TierPricing Add-on supports the Magento tier pricing standard fields likewise below:

    • Active Website
    • Customer group
    • Quantity
    • Price type

    After that, you can export then manage discounts(tier pricing) such as for specific store view or customer groups from Akeneo to Magento2.

    Tier Pricing for Simple/Variant Product in Akeneo

    In order to create TierPricing navigate through Dashboard –> Products.

    Products-7

    For Simple Product:

    Select a specific simple product you want to add tier price, you will see the Advanced/ Tier Pricing (Magento2) tab below categories.

    Product-1111111240-Edit

    For Variant Product:

    After that you can also add a tier price for variant products from Akeneo. Same as simple product, select a variant product you want to add tier price then navigate to Advanced/ Tier Pricing (Magento2) tab.

    Advanced Tier Pricing on Variant Product

    Here, we’re demonstrating tier pricing with the simple product from Akeneo.

    After tapping on the Advanced/ Tier Pricing (Magento2) tab will bring you to the Advanced/ Tier Pricing page.

    In order to add tier price click on the Add button similarly as highlighted below:

    Product-1111111240-Edit-1

    After that when you will click on the Add button it shows below respective fields to add tier price. Here, you can see each standard field followed in Magento2.

    Product-1111111240-Edit-2
    • Website: Select the Website(all pre-configured store will show in the dropdown) you want the tier price to be available for.
    • Customer group: Choose the Customer Group (you also can choose ALL GROUPS) that will receive the discounted price.
    • Quantity: In the Quantity field, enter the number of products the discount to be applied.
    • Price type: Select price type Fixed or Discount.
    • Price: In the Price field, enter the discounted price for the product.

    As similar as you can set many Tier Price conditions by clicking on the add button again as you need for each product from Akeneo itself.

    Once you will be done with the required information, hit on the Save button from the top right corner. Finally, Tierpricing has been applied from Akeneo.

    Moreover, in order to delete the current rule in Akeneo, click on the delete icon similar to the below-attached screenshot.

    Product-1111111240-Edit-3

    Export the TierPricing

    Now to export your product data you need to create a job profile then execute it. Firstly, go to Exports>Create Export Profile then enter a unique code, the label then select a job profile.

    To know more about the Export profile, you have to follow our Magento2 Akeneo User Guide.

    For the TierPricing export process, you can create a simple export process.

    Export-profiles-management-7

    To know more about the creating export profile follow our Akeneo Magento2 User Guide.

    Execution Process

    After that wait for the execution process to complete then check the errors. Then after the completion of the export job, the Tier pricing will appear in Magento2.

    Export-executions-Details-6

    Tier Pricing in Magento2

    As you can see that the following Tierpricing has been exported from Akeneo. The admin can view product Tier price then make any changes in the Tier pricing edit from Magento.

    After that click on advanced pricing after that, you can see tier pricing has been exported from Akeneo to Magento2.

    Tier Pricing export on Magento2

    Support

    Moreover, for any issues related to this module, please create a support ticket at- https://webkul.uvdesk.com/en/customer/create-ticket Also, for any pre-sales queries or customization discussion, please drop an email to [email protected]

    Please explore our Akeneo Development Services and Quality Akeneo Extensions.

    Current Product Version - 3.0.0

    Supported Framework Version - Magento 2.0.x, 2.1.x, 2.2.x,2.3.x, 2.4.x

    Blog Version - Magento 2.0.x, 2.1.x, 2.2.x,2.3.x, 2.4.x
    • Version Magento 2.0.x, 2.1.x, 2.2.x,2.3.x Akeneo PIM 2.0.x, 2.1.x, 2.2.x, 2.3.x, 3.0.x, 3.1.x, 3.2.x, 4.0.x and 5.0.x
    • Version Magento 2.0.x, 2.1.x, 2.2.x,2.3.x Akeneo PIM 2.0.x, 2.1.x, 2.2.x, 2.3.x, 3.0.x, 3.1.x, 3.2.x and 4.0.x
    • Version Magento 2.0.x, 2.1.x, 2.2.x,2.3.x Akeneo PIM 2.0.x, 2.1.x, 2.2.x, 2.3.x, 3.0.x, 3.1.x and 3.2.x
    . . .
    Discuss on Helpdesk

    Leave a Comment

    Your email address will not be published. Required fields are marked*


    Be the first to comment.

    Back to Top

    Table of Content