Skip to content
This repository has been archived by the owner on Mar 9, 2023. It is now read-only.

The Flagbit Product Cloner Bundle gives you the possibility to quick cloning products within Akeneo PIM.

License

Notifications You must be signed in to change notification settings

flagbit/akeneo-product-cloner

Repository files navigation

Flagbit ProductClonerBundle for Akeneo PIM

CI Total Downloads Quality Score Packagist Version Software License

This bundle is aimed to offer product clone functionality within Akeneo PIM.

Functionalities

  • Clone a product model
  • Clone a product or a variant product

Note: As of Akeneo 5, the Enterprise Edition ships with an included clone feature, therefore this bundle is not compatible with Akeneo 5 Enterprise Edition! For the Akeneo 5 Community Edition, the bundle will work as before.

Installation

You can install the package with the following command.

composer require flagbit/product-cloner-bundle

Enable the bundle

Add the bundle to the config/bundles.php file:

<?php

return [
    \Flagbit\Bundle\ProductClonerBundle\FlagbitProductClonerBundle::class => ['all' => true],
    // ...
];

Import the routing

Now that you have activated and configured the bundle, all that is left to do is import the FlagbitProductClonerBundle routing files.

# config/routes/product_cloner.yml
flagbit_product_cloner:
    resource: "@FlagbitProductClonerBundle/Resources/config/routing.yml"

Build and install the new front-end dependencies (new translations, etc.)

make cache assets css javascript-prod

How to use it

Open a product and there open the options dialog at the right corner. You can see it here on the screen: Product Model Clone Screen

After clicking on clone you will see this dialog: Product Model Clone Dialog Screen

Put in a new product code and click on save. After that check if all the data is correct for the new product.

Configuration

You don't need to configure this bundle by default. The default behaviour is to clone all product or product model attributes except the unique attributes. In addition, you can specify a blacklist of attributes that shouldn't be cloned:

flagbit_product_cloner.attribute_blacklist:
        - your_attribute_code1
        - your_attribute_code2
        - your_attribute_code3
        ...

Akeneo Compatibility

This extension supports the latest Akeneo PIM CE/EE stable versions:

  • 2.3 (LTS)
  • 3.0 (LTS)
  • 3.2 (LTS)
  • 4.0
  • 5.0

License

The ProductClonerBundle is licensed under the MIT License - see the LICENSE file for details