Reading list Switch to dark mode

    Magento 2 Group Bundle Product Akeneo Add-On


    Introduction

    Magento 2 Group Bundle Product Akeneo Add-on: 

    With this Magento 2 Akeneo Connector Add-on, you can create group and bundle type products in Akeneo and then export them to the Magento store. Magento 2 Akeneo Connector Add-on enables the export feature for the Group and Bundle Products. It export Bundle Products on Magento 2 Store using CSV export and group product using the normal product export job.

    Check a brief overview of the plugin –

    McM5bGyF0tU

    Please Note:

    • This module is an add-on to Magento 2 Akeneo Connector, so it must be installed first.
    • 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.

    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, 5.0.x and 6.0.x. Download Akeneo from here
    • Node and Yarn packages need to be installed.
    • Also works with Akeneo Cloud Flexibility Mode which is a PAAS Edition of Akeneo

    Introduction

    Magento 2 Group Bundle Product Akeneo Add-on: 

    Searching for an experienced
    Akeneo Company ?
    Read More

    With this Magento 2 Akeneo Connector Add-on, you can create group and bundle type products in Akeneo and export them to Magento store. Magento 2 Akeneo Connector Add-on enables the export feature for the Group and Bundle Products. It export Bundle Products on Magento 2 Store using CSV export and group product using the normal product export job.

    Please Note:

    • This module is an add-on for Magento 2 Akeneo Connector, so it must be installed first.
    • Magento 2 Group Bundle Product Akeneo Add-on is compatible with Community Edition, Enterprise Edition, and Cloud (PaaS/Flexibility) Edition of Akeneo.

    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.0x, 5.0.x and 6.0.x.
    • Download Akeneo from here
    • Node and Yarn packages need to be installed.
    • Also works with Akeneo Cloud Flexibility Mode which is a PAAS Edition of Akeneo

    Features

    • Create Bundle Products In Akeneo then export to Magento 2 using CSV Export Job
    • Create Grouped Products In Akeneo then export to Magento using Simple Product Export / Quick Export Job
    • This module is compatible with the latest Akeneo version 6.0.x
    • Providing flexibility to purchase the group product
    • Easy to choose complimentarily products

    Magento2 Credentials

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

    Composer Installation

    Read This Blog

    Before beginning the composer installation

    1: Get the ACCESS KEYS [Create a support ticket]
    2: In Akeneo composer.json, add our repository as well as the installation script.

    For Akeneo 6.x 

    {
    "scripts": {
    "post-update-cmd": [ "vendor/webkul/magento2bundleproductextension/src/Webkul/Magento2BundleProductBundle/install/config.sh COMPOSER=true NO_DOCKER=true", "vendor/webkul/magento2bundleproductextension/src/Webkul/Magento2GroupProductBundle/install/config.sh COMPOSER=true NO_DOCKER=true", ], "post-install-cmd": [ "vendor/webkul/magento2bundleproductextension/src/Webkul/Magento2BundleProductBundle/install/config.sh COMPOSER=true NO_DOCKER=true", "vendor/webkul/magento2bundleproductextension/src/Webkul/Magento2GroupProductBundle/install/config.sh COMPOSER=true NO_DOCKER=true" ], "post-create-project-cmd": [ "vendor/webkul/magento2bundleproductextension/src/Webkul/Magento2BundleProductBundle/config.sh COMPOSER=true NO_DOCKER=true", "vendor/webkul/magento2bundleproductextension/src/Webkul/Magento2GroupProductBundle/config.sh COMPOSER=true NO_DOCKER=true" ] }, "repositories": [{ "type": "composer", "url": "https://akeneorepo.webkul.com/" }] }

    For Akeneo <=5.x 

    {
      "scripts": {
            "post-update-cmd": [
               
    "vendor/webkul/magento2bundleproductextension/composer_install.sh"
            ],
            "post-install-cmd": [
               
    "vendor/webkul/magento2bundleproductextension/composer_install.sh"
            ],
            "post-create-project-cmd": [
             
    "vendor/webkul/magento2bundleproductextension/composer_install.sh"
           ]
       },
      "repositories": [{
        "type": "composer",
        "url": "https://akeneorepo.webkul.com/"
      }]
    }
    

    3: Use composer to install the extension.

    composer require webkul/magento2bundleproductextension

    4: Complete the authentication form.
    5: Send a Message of Success
    6: Delete your browser’s cache.

     

    Manual Installation For Akeneo 6

    •  After unzipping the appropriate extension zip, merge the “src” folder into the akeneo project.

    Bundle Product Extension Installation

    • From the PIM directory, run the following command over the NO-DOCKER Instance.
    ./src/Webkul/Magento2BundleProductBundle/install/config.sh COMPOSER=false NO_DOCKER=true
    •  Run the command below over the PIM directory’s DOCKER instance.
    ./src/Webkul/Magento2BundleProductBundle/install/config.sh COMPOSER=false NO_DOCKER=false

    Group Product Extension Installation

    • From the PIM directory, run the following command over the NO-DOCKER Instance.
    ./src/Webkul/Magento2GroupProductBundle/install/config.sh COMPOSER=false NO_DOCKER=true
    •  Run the command below over the PIM directory’s DOCKER instance.
    ./src/Webkul/Magento2GroupProductBundle/install/config.sh COMPOSER=false NO_DOCKER=false

    Module Installation for Version Akeneo 4.0.x to 5.0.x

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

    Unzip the respective extension zip then merge “src” folder into the Akeneo project root directory.

    group-bundle-src

    Bundle Product Extension Installation

    • After that goto config/Bundles.php then add line:
    Webkul\Magento2BundleProductBundle\Magento2BundleProductBundle::class => ['all' => true],

    bundle-product-1

    in return array.

    • Copy the “config” folder into akeneo project root directory for routing.

    conf-group-bundle

    Group Product Extension Installation

    • After that goto config/Bundles.php then add line:
    Webkul\Magento2GroupProductBundle\Magento2GroupProductBundle::class => ['all' => true],

    group-product

    in return array.

    • Copy the “config” folder into akeneo project root directory for routing.

    conf-group-bundle

    • Run this command after ssh to your akeneo server by the terminal
    rm -rf var/cache && php bin/console cache:warmup && php bin/console magento2:setup:install --env=prod
    • 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

    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

    Module Installation for Version 2.x to 3.x

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

    Unzip the respective extension zip then merge “src” folder into the Akeneo project root directory.

    group-bundle-src

    Bundle Product Extension Installation

    1 – After that goto app/AppKernel.php then add the line

    new Webkul\Magento2BundleProductBundle\Magento2BundleProductBundle(),
    

    in function registerProjectBundles()
    Magento2 Bundle Product code

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

    magento2_bundle_product:
        resource: "@Magento2BundleProductBundle/Resources/config/routing.yml"
        prefix:   /
    

    routing.yml in Akeneo3 – After that goto app/config/config.yml then add these lines under the import section

    - { resource: "@Magento2BundleProductBundle/Resources/config/config.yml" }
    

    Config.yml file code4 – You have to navigate first to Akeneo installation directory (Ex: cd /opt/bitnami/apps/akeneo/htdocs). After SSH, you have to run the command to your Akeneo server by the terminal.

    php bin/console ca:cl --env=prod;php bin/console magento2:setup:install --env=prod
    

    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 

    Group Product Extension Installation

    1 – Goto app/AppKernel.php then add the line

    in function registerProjectBundles()

    new Webkul\\Magento2BundleProductBundle\\Magento2BundleProductBundle(),
    

    Magento2 group product Appkernel.php file code
    2 – After that goto app/config/routing.yml then add these lines at top of the file

    magento2_group_product:
        resource: "@Magento2GroupProductBundle/Resources/config/routing.yml"
        prefix:   / 
    

    routing.yml code3 – Run this command after ssh to your akeneo server by the terminal

    php bin/console ca:cl --env=prod;php bin/console magento2:setup:install --env=prod
    

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

    Uninstall Module: For Akeneo 6

    Bundle Product Extension Uninstallation

    • From the PIM directory, run the command below over the NO-DOCKER Instance.

    ./src/Webkul/Magento2BundleProductBundle/uninstall/uninstall.sh COMPOSER=false NO_DOCKER=true
    • After that run the command below over the PIM directory’s DOCKER instance.

    ./src/Webkul/Magento2BundleProductBundle/uninstall/uninstall.sh COMPOSER=false NO_DOCKER=false

    Group Product Extension Uninstallation

    • From the PIM directory, run the command below over the NO-DOCKER Instance
    ./src/Webkul/Magento2GroupProductBundle/uninstall/uninstall.sh COMPOSER=false NO_DOCKER=true
    • After that run the command below over the PIM directory’s DOCKER instance.
    ./src/Webkul/Magento2GroupProductBundle/uninstall/uninstall.sh COMPOSER=false NO_DOCKER=false

    Setup credential in Akeneo

    Note: Akeneo Magento2 Group Bundle product Add-on only supports the product export feature. You can only export the Group and Bundle products from Akeneo to Magento2.

    After successfully installing the Akeneo Magento2 connector and Akeneo Group Bundle Product for the Magento2  module in Akeneo, you need to set up the Magento API credentials in Akeneo.

    Webkul-Magento2-Connector-Configuration-14

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

    • Hostname
    • Access Token

    Webkul-Magento2-Connector-Configuration-2

    Edit credentials-

    Credentials-7

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

    Create Product in Akeneo

    To create a product in Akeneo, go to navigate to Products then click Create button. Now, you need to choose the product type – as Product, Product Model, Bundle Product, and Grouped Product.

    akeneo-demo.webkul.com_7131_Blog-Webkul

    Here you can select the Bundle and Grouped Product option to create the product.

    Bundle Products: A Bundle product is a collection of simple and implicit products. Now it is possible to create Bundle products in Akeneo. For it, you have to create Bundle Products in Akeneo and export them to Magento2 using CSV Export Job.

    Example: A personal computer system.

    Grouped Products: A group product is a collection of simple products that presented as a group. You can also create group products in Akeneo and can export it to Magento2 using Simple Product Export / Quick Export Job.

    Example: A T-shirt set of different sizes.

    Note: For creating a Grouped product or Bundle product in Akeneo, you have to first export all the child products related to Grouped or Bundle product.

    Create Grouped Product in Akeneo

    For creating Group Product, you have to navigate to Akeneo Dashboard -> Product -> Create product then select the Grouped product.

    akeneo-demo.webkul.com_7131_Blog-Webkul

    Here you have to enter the details of Grouped products.

    akeneo-demo.webkul.com_7020_Blog-Webkul-3

    Now you have to assign a category to this product.

    akeneo-demo.webkul.com_7020_Blog-Webkul-1-1

    Now you have to select the Simple product along with the Grouped products.

    akeneo-demo.webkul.com_7020_Blog-Webkul-3-1

    After that you can add more than one products and product will show on this page.

    akeneo-demo.webkul.com_7020_Blog-Webkul-4

    Export the Grouped Product

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

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

    For the Grouped product export process, you can create a simple export process.

    akeneo-demo.webkul.com_7240_Blog-Webkul

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

    Execution Process

    Wait for the execution process to complete then check the errors. After the completion of the export job, the products will appear in the Magento catalog.

    Process-tracker-Show-job-1

    Grouped product in Magento 2

    As you can see that the following Grouped products have been imported from Akeneo. The admin can view the products and make any changes in the product edit form of Magento.

    You can see here the Grouped product exported from Akeneo.

    mage231.webkul.com_admin_ovaiqd_catalog_product_index_key_0ae16a87c115a00154b90248670df80c276148badd0e8f23ffa31b209ec0f84c_Blog-Webkul

    Here you can see the product attached to the Grouped products.

    mage231.webkul.com_admin_ovaiqd_catalog_product_edit_id_218_key_0196398636ec1cc72c66a6792e3e9d825177993035165d44f428b69dbab2fdec_Blog-Webkul

    Store Front

    You can see the Grouped product details at the front end of the store.

    screenshot_from_2022_07_06_16_36_53

    Create Bundle Product in Akeneo

    For creating Bundle Product, you have to navigate to Akeneo Dashboard -> Product -> Create product then select the Bundle product.

    akeneo-demo.webkul.com_7131_Blog-Webkul

    Here you have to enter the details of Bundle products.

    akeneo-demo.webkul.com_7240_Blog-Webkul-1

    Bundle Product details

    Price View – Price View defines the conditions required for special pricing. You can check the product with the price ranges like As Low as. The product will show with lower to higher price ranges.

    Dynamic SKU – The Dynamically SKU will be set to generate the SKU automatically. This allows you to create the Magento product SKU based on the Bundle product name. By enabling this icon, it will generate the dynamic SKU in Magento2.

    Dynamic price – You can calculate the price dynamically in Magento2. The price of the product will depend on the value of the option. If you select the product, It will automatically generate the price.

    Dynamic Weight – Like Price and SKU, Weight can be also set dynamically. The product weight will change with the selected product option.

    Ship Bundle Option – With this, your products will show in Magento either together or separately.

    Separately – It will show product separately in Magento2.

    Together – It will show the product together in Magento2.

    Now you have to click on the add option. Here you have to enter the data like option title, Input type, and add the product to option.

    akeneo-demo.webkul.com_7240_Blog-Webkul-2

    Option Title – It shows the Bundle product title.

    Input Type – Here you have to select the input type. With this option, you can choose the product.

    • Drop-down
    • Radio Button
    • Check Box
    • Multiple Select

    Add Product Option – You can click here to add products. You will able to select the simple product, variant products, and all child products of a variant individually. You can also filter the product with categories, families, completeness, SKU, and status.

    akeneo-demo.webkul.com_7240_Blog-Webkul-3

    Now you can see the product associated with Bundle products.

    akeneo-demo.webkul.com_7240_Blog-Webkul-4

    Now you can assign a category to this Bundle product.

    akeneo-demo.webkul.com_7240_Blog-Webkul-5

    Export the Bundle Product

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

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

    For the Bundle product Export, you have to create a CSV export profile. Create a CSV Export profile -> CSV Export Profile

    akeneo-demo.webkul.com_7544_Blog-Webkul-1

    Execution Process

    Wait for the execution process to complete then check the errors. After the completion of the export job, the products will appear in the Magento catalog.

    akeneo-demo.webkul.com_7544_Blog-Webkul

    Bundle Product in Magento2

    As you can see that the following Bundle products have been imported from Akeneo. The admin can view the products then make any changes in product edit form of Magento.

    Now you can see the Bundle product in Magento2 exported from the Akeneo.

    mage231.webkul.com_admin_ovaiqd_catalog_product_index_key_b5bb3ecbc566340de3ecad2fbe00c64c71e6d2238589e0d38aa09d4c155132d5_Blog-Webkul

    Here you can see the product attached to the Bundle products.

    mage231.webkul.com_admin_ovaiqd_catalog_product_edit_id_215_key_bc0371f96b13c770d9237ee8083b27da8622fb1bd2357070b6e672e4f3ce859d_Blog-Webkul

    Store Front

    You can see the Bundle product details at the front end of the store.

    screenshot_from_2022_07_06_16_37_20

    Support

    So, that was much about the  User Guide of Magento2 Group Bundle Product Akeneo for any queries or doubts reach out to us at [email protected]. You can also raise a ticket at our HelpDesk System.

    Please explore our Akeneo Development Services and Quality Akeneo Extensions.

    Current Product Version - Akeneo 2 to 5 || 2.0.0 and Akeneo 6 || 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, and 2.3.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, and 3.1.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
    • 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, 5.x and 6.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.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
    • Version Akeneo Version 2.0.x, 2.1.x, 2.2.x, 2.3.x, 3.0.x, 3.1.x, 3.2.x, 4.0.x, 5.0.x and 6.0.x
    . . .
    Add a comment

    Leave a Comment

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


    Be the first to comment.

    Back to Top
    Great solution and the techs are very knowledgeable and helpful. Especially Nishi and Abhishek.
    Ann Beattie
    Senior Salesforce Consultant
    www.publicissapient.com
    Talk to Sales

    Global

    Live Chat

    Message Sent!

    If you have more details or questions, you can reply to the received confirmation email.

    Back to Home

    Table of Content