Akeneo Product Cloner allows the admin to clone every kind of product. Using this module the admin can clone products, product models, and product variants. A clone of any product can be created by clicking on a single button.
While creating a clone of any product the admin only needs to enter the code for that clone and after clicking on the save button the clone gets created.
Please Note –
- 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
- Using this module you can clone products
- Clone product models
- Easy collecting of identical products
- Clone product variants of one-level variants
- By using ACL functionality, you may manage the permissions in the module.
- This module is compatible with the latest Akeneo version 7.0.x
Installation
Two different types of module installation processes are available for the module.
- Composer Installation
- Manual Installation
Installation using 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/productclonerbundle/src/Webkul/ProductClonerBundle/install/config.sh COMPOSER=true NO_DOCKER=true" ], "post-install-cmd": [ "vendor/webkul/productclonerbundle/src/Webkul/ProductClonerBundle/install/config.sh COMPOSER=true NO_DOCKER=true" ], "post-create-project-cmd": [ "vendor/webkul/productclonerbundle/src/Webkul/ProductClonerBundle/install/config.sh COMPOSER=true NO_DOCKER=true" ] }, "repositories": [{ "type": "composer", "url": "https://akeneorepo.webkul.com/" }] }
3: Use composer to install the extension.
composer require webkul/productclonerbundle
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.
- From the PIM directory, run the following command over the NO-DOCKER Instance.
./src/Webkul/ProductClonerBundle/install/config.sh COMPOSER=false NO_DOCKER=true
- Run the command below over the PIM directory’s DOCKER instance.
./src/Webkul/ProductClonerBundle/install/config.sh COMPOSER=false NO_DOCKER=false
Manual Installation for Version 4.0.x to 5.x
Please follow these steps for installing the Akeneo Product Cloner module in your Akeneo PIM platform.
1 – Unzip the respective extension zip then merge the “src” folder into the akeneo project root directory.
2 – Goto config/Bundles.php then add a line:
Webkul\ProductClonerBundle\ProductClonerBundle::class => ['all' => true],
in the return array.
3 – Copy the “config” folder into the akeneo project root directory for routing.
4 – Run this command after ssh to your akeneo server by the terminal.
php bin/console cache:clear --env=prod && php bin/console pim:installer:assets --symlink --clean --env=prod && php bin/console d:s:u --force && yarn run webpack
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
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;
Manual Installation For Version 3. x
Please follow these steps for installing Akeneo Product Cloner module in your Akeneo PIM platform.
1 – Unzip the respective extension zip then merge the “src” folder into akeneo project root directory.
2 – Goto app/AppKernel.php then add line
new Webkul\ProductClonerBundle\ProductClonerBundle(),
3 – Goto app/config/routing.yml then add these lines at top of file Sylius: resource:
product_cloner: resource: "@ProductClonerBundle/Resources/config/routing.yml" prefix: /
4 – Run this command after ssh to your akeneo server by the terminal.
php bin/console cache:clear --env=prod && php bin/console pim:installer:assets --symlink --clean --env=prod && php bin/console d:s:u --force && yarn run webpack
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
- 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
- From the PIM directory, run the command below over the NO-DOCKER Instance.
./src/Webkul/ProductClonerBundle/uninstall/uninstall.sh COMPOSER=false NO_DOCKER=true
- Run the command below over the PIM directory’s DOCKER instance.
./src/Webkul/ProductClonerBundle/uninstall/uninstall.sh COMPOSER=false NO_DOCKER=false
Video Akeneo Product Cloner– workflow
You can go through the Video Guide to understand how Akeneo Product Cloner works.
Set up in Akeneo
After installation of the module in Akeneo, You have to edit the user role in Akeneo. Then you have to navigate System -> Roles-> Permission and then enable Product cloner.
Create Simple Product In Akeneo:
You can also create a product in Akeneo. Therefore, navigate to Products. Then click the Create button.
Now, you need to choose your action – as Product or Product Model as per the below image. You can select-
- Product – if you want to create simple products.
Enter the SKU, choose a family, then click the Save button as per the below image.
Product Family – This is a set of attributes that will be the same for all products belonging to a family.
The product family represents product type, imposes product information structure, and defines the list of attributes for a product that it belongs to.
Add Product Details
Now you need to provide information about the product.
Enter the details like name, collection, description, etc.
Select Attribute
For adding product information, select the attribute options you require. Therefore, you can also create new options for the attribute.
The following Attributes from Akeneo are supported for export:
- Text
- Text Area
- Number
- Date
- Yes/No
- Select
- Price
- Metric
- Image
You can also add product details like price, design, manufacturing color, etc.
Upload Image
Click the upload picture section or use the drag and drop feature to add a product image.
Select Category
After entering all the product information. Then you can also select Categories for the created product.
Then click Save. Now you can see in the below image the new product created.
How to Clone a Simple product
To create new duplicate products in Akeneo. Therefore, navigate to Products. Then click on the product in which you want to create duplicate products.
After clicking on the product page will open after that click on the options dialog at the right corner. Now to create duplicate products click on the clone.
Then you will redirect to a new page where you need to fill in the clone product code. After that click to Save.
After clicking on the Save button new clone product will be created as you can see in the below image.
How to Clone Product Model
To create a new duplicate product model in Akeneo. Therefore, navigate to Products. Then click on the product model in which you want to create a duplicate product model.
Note – How to create product model – https://webkul.com/blog/create-product-and-product-model-in-akeneo/
After clicking on the product model page will open after that click on the options dialog at the right corner. Now to create a duplicate products model click on the clone.
Then you will redirect to a new page where you need to fill in the clone product code and then you have to enter the variants field name. After that click to Save.
After clicking on the Save button new clone product model will be created as you can see in the below image.
How to Clone Variants
To create a new duplicate variant in Akeneo. Therefore, navigate to Products. Then click on the product model then select the variant in which you want to create a duplicate variant.
After that click on the options dialog in the right corner. Now to create a duplicate products variant click on the clone.
Then you will redirect to a new page where you need to select the clone variant size and code. After that click to Save.
A new clone variant will be created as soon as you click the Save button, as shown in the figure below.
Support
So, that was much about the User Guide of Akeneo Product Cloner 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 3 to 5 || 2.0.0 ,Akeneo 6 || 3.0.0 and Akeneo 7 || 4.0.0
Supported Framework Version - Akeneo version - 3.x.x, 4.x.x, 5.x.x, 6.x.x & 7.x.x
Be the first to comment.