Introduction
Magento 2 Group Bundle Product Akeneo 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.
Also, for import and export downloadable products between Magento 2 and Akeneo and create downloadable products in Akeneo, check the Magento 2 Downloadable Product Akeneo Add-on.
Check a brief overview of the plugin –
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,6.0.x and 7.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:
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, 6.0.x and 7.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.
- Import bundle product using Magento2 Bundle Products Import job.
- This module is compatible with the latest Akeneo version 7.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
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 and 7.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 and 7
- 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.
Bundle Product Extension Installation
- After that goto config/Bundles.php then add line:
Webkul\Magento2BundleProductBundle\Magento2BundleProductBundle::class => ['all' => true],
in return array.
- Copy the “config” folder into akeneo project root directory for routing.
Group Product Extension Installation
- After that goto config/Bundles.php then add line:
Webkul\Magento2GroupProductBundle\Magento2GroupProductBundle::class => ['all' => true],
in return array.
- Copy the “config” folder into akeneo project root directory for routing.
- 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
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 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.
Bundle Product Extension Installation
1 – After that goto app/AppKernel.php then add the line
new Webkul\Magento2BundleProductBundle\Magento2BundleProductBundle(),
in function registerProjectBundles()
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: /
3 – After that goto app/config/config.yml then add these lines under the import section
- { resource: "@Magento2BundleProductBundle/Resources/config/config.yml" }
4 – 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(),
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: /
3 – 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 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 and 7
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.
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
Edit credentials-
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.
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.
Here you have to enter the details of Grouped products.
Now you have to assign a category to this product.
Now you have to select the Simple product along with the Grouped products.
After that you can add more than one products and product will show on this page.
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.
To know more about the creating export profile follow our Akeneo Magento2 User Guide.
Note: Only the linked product will be exported when exporting group products from Akeneo to Magento 2. If this option is enabled, it deletes all other connected group products that are already existing.
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.
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.
Here you can see the product attached to the Grouped products.
Store Front
You can see the Grouped product details at the front end of the store.
Create Bundle Product in Akeneo
For creating Bundle Product, you have to navigate to Akeneo Dashboard -> Product -> Create product then select the Bundle product.
Here you have to enter the details of Bundle products.
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.
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.
Now you can see the product associated with Bundle products.
Now you can assign a category to this Bundle product.
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
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.
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.
Here you can see the product attached to the Bundle products.
Store Front
You can see the Bundle product details at the front end of the store.
Import Bundle Product
You can now import your bundle product data from Magento to Akeneo.
To import, navigate to Imports > Create Import Profile and add a code and label. The following job profiles are now available:
After that, once you have selected the import job profile, from the Content section, then you can select the channel and locales for import product data.
You can also import multi-language data from Magento to Akeneo.
Setup Credentials – If you manage many Magento stores, provide unique API credentials for each one.
Once everything is set up correctly, you just need to click the Import Now button then the import execution process will start.
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, Akeneo 6 || 3.0.0 and Akeneo 7 || 4.0.1
Supported Framework Version - Magento 2.0.x, 2.1.x, 2.2.x,2.3.x, 2.4.x
Be the first to comment.