flagbit/product-cloner-bundle

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

v4.0.0 2020-04-08 10:53 UTC

This package is auto-updated.

Last update: 2020-08-08 12:15:47 UTC


README

Build Status 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

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

License

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