Skip to content

The Table Attribute Bundle for Akeneo PIM gives you the possibility to enrich your product with multi-dimensional data presentation in the form of tables, allowing you maximum flexibility within the PIM.

License

Notifications You must be signed in to change notification settings

carlessebastian/akeneo-table-attribute-bundle

 
 

Repository files navigation

Flagbit TableAttributeBundle for Akeneo PIM

Build Status Quality Score Packagist Version Software License

Adds the new attribute type Table for Akeneo products.

Installation

Now you can simply install the package with the following command.

composer require flagbit/table-attribute-bundle

Enable the bundle

Enable the bundle in the kernel:

<?php
// app/AppKernel.php

protected function registerProjectBundles()
{
    return [
        // ...
        new Flagbit\Bundle\TableAttributeBundle\FlagbitTableAttributeBundle(),
        // ...
    ];
}

Configuration

Add to config yml to mapping_overrides in app/config/config.yml:

akeneo_storage_utils:
    mapping_overrides:
        -
            original: Pim\Bundle\CatalogBundle\Entity\AttributeOption
            override: Flagbit\Bundle\TableAttributeBundle\Entity\AttributeOption

Clear your cache:

php bin/console -e=prod cache:clear

Update the database schema:

php bin/console -e=prod doctrine:schema:update --force

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

php bin/console pim:installer:assets --symlink --clean --env=prod
yarn run webpack

In case you're using Doctrine migrations, you have to create a new migration class

php bin/console -e=prod doctrine:migration:diff

and migrate the schema updates:

php bin/console doctrine:migrations:migrate

Features

Provides a the table as attribute type where you can define a set of columns of different types and validation rules.

Column Types

  • Text
  • Number (Integer or Decimal)
  • Simple select
  • Simple select from URL

Import/Export

The extension supports the standard Akeneo product import/export, so you don't need to create any special import/export profile for table information.

All product information related to attributes of type table will be imported/exported as JSON.

Akeneo Compatibility

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

  • 2.3 (LTS)
  • 2.1 and 2.2 (STS)

License

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

About

The Table Attribute Bundle for Akeneo PIM gives you the possibility to enrich your product with multi-dimensional data presentation in the form of tables, allowing you maximum flexibility within the PIM.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 71.7%
  • PHP 24.1%
  • HTML 3.3%
  • CSS 0.9%