Developed with love by KnpLabs Hire us for your project!
33

ExtendedAttributeTypeBundle

by FriendsOfAkeneo

Extra attribute types for Akeneo PIM

ExtendedAttributeTypeBundle

Provides new attributes types for Akeneo PIM CE and EE:
- TextCollection: this attribute type can store an ordered collection of strings or URLs.

Simple string collection

Requirements

ExtendedAttributeTypeBundle Akeneo PIM Community Edition

Installation

You can install this bundle with composer (see requirements section).

First, add the VCS then launch the following command from your root application:

php composer.phar require --prefer-dist akeneo/extended-attribute-type:2.1

Add the following bundle in your app/AppKernel.php file:

$bundles = [
    new Pim\Bundle\ExtendedAttributeTypeBundle\PimExtendedAttributeTypeBundle(),
];

You will also have to register the new Elasticsearch configuration files; in app/config/pim_parameters.yml, edit the
elasticsearch_index_configuration_files parameter and add the following values:

elasticsearch_index_configuration_files:
    - '%kernel.root_dir%/../vendor/akeneo/pim-community-dev/src/Pim/Bundle/CatalogBundle/Resources/elasticsearch/index_configuration.yml'
    - '%kernel.root_dir%/../vendor/akeneo/extended-attribute-type/src/Resources/config/elasticsearch/index_configuration.yml'

For the Enterprise edition, there is another file to register:
yaml
elasticsearch_index_configuration_files:
- '%kernel.root_dir%/../vendor/akeneo/pim-community-dev/src/Pim/Bundle/CatalogBundle/Resources/elasticsearch/index_configuration.yml'
- '%kernel.root_dir%/../vendor/akeneo/pim-enterprise-dev/src/PimEnterprise/Bundle/WorkflowBundle/Resources/elasticsearch/index_configuration.yml'
- '%kernel.root_dir%/../vendor/akeneo/extended-attribute-type/src/Resources/config/elasticsearch/index_configuration.yml'
- '%kernel.root_dir%/../vendor/akeneo/extended-attribute-type/src/Resources/config/elasticsearch/index_configuration_ee.yml'

If this is a fresh install, you can then proceed with a standard installation.

From an existing PIM, on the other hand, you will have to re-create your elasticsearch indexes:

php bin/console cache:clear --no-warmup --env=prod
php bin/console akeneo:elasticsearch:reset-indexes --env=prod
php bin/console pim:product-model:index --all --env=prod
php bin/console pim:product:index --all --env=prod

Contributing

If you want to contribute to this open-source project,
thank you to read and sign the following contributor agreement

  • Merge pull request #61 from akeneo/mmetayer-patch-1
    By web-flow, 2 years ago
  • Update README.md
    By web-flow, 2 years ago
  • Merge pull request #60 from akeneo/migration-2.3
    By web-flow, 2 years ago
  • Update config files for CI builds
    By mmetayer, 2 years ago
  • Update Jenkinsfile
    By mmetayer, 2 years ago
  • CI build on PIM 2.3
    By mmetayer, 2 years ago
  • Merge pull request #58 from akeneo/textcollection-proposal-filter
    By web-flow, 2 years ago
  • Enhance readability of ProductProposalTextCollectionFilter::addAttributeFilter()
    By mmetayer, 2 years ago
  • Add integration test for new filter
    By mmetayer, 2 years ago
  • Add TextCollection attribute filter for proposal grid
    By mmetayer, 2 years ago
  • Update Jenkinsfile (#57)
    By web-flow, 2 years ago
  • Merge pull request #56 from akeneo/mmetayer-patch-1
    By web-flow, 2 years ago
  • Update README.md
    By web-flow, 2 years ago
  • Merge pull request #47 from mmetayer/migration-2.2
    By web-flow, 2 years ago
  • PIM v2.2 compatibility
    By mmetayer, 2 years ago
  • Update Jenkinsfile
    By web-flow, 2 years ago
  • Merge pull request #55 from akeneo/merge-11-into-master
    By web-flow, 2 years ago
  • Temporarily update Jenkinsfile for autoload on CI
    By mmetayer, 2 years ago
  • Fix completeness check for scopable/localizable textcollection attributes
    By mmetayer, 2 years ago
  • Merge remote-tracking branch 'origin/1.1'
    By mmetayer, 2 years ago
  • Update Jenkins config (#46)
    By web-flow, 3 years ago
  • Merge pull request #44 from mmetayer/textcollectionfilter
    By web-flow, 3 years ago
  • Fix CI config
    By mmetayer, 3 years ago
  • Add integration tests for TextCollectionFilter
    By mmetayer, 3 years ago
  • Remove obsolete autolad data from composer.json
    By mmetayer, 3 years ago
  • README: add instructions about elasticsearch indexes
    By mmetayer, 3 years ago
  • reindex TextCollectionValue data after removing an item
    By mmetayer, 3 years ago
  • Update documentation
    By mmetayer, 3 years ago
  • Fix UI for grid and PEF
    By mmetayer, 3 years ago
  • Fix elasticsearch textCollection filter
    By mmetayer, 3 years ago