2017 © Pedro Peláez
 

symfony-bundle akeneo-inline-edit-bundle

Add ability to enable inline edit for Akeneo PIM product grid

image

default-value/akeneo-inline-edit-bundle

Add ability to enable inline edit for Akeneo PIM product grid

  • Wednesday, February 7, 2018
  • by alexandrzhulev
  • Repository
  • 4 Watchers
  • 9 Stars
  • 39 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 6 Versions
  • 8 % Grown

The README.md

Scrutinizer Code Quality, (*1)

AkeneoInlineEditBundle

AkeneoInlineEditBundle provides ability to edit product attributes from Products Grid., (*2)

, (*3)

Installation

Step 1: Install bundle with composer

``` bash php composer.phar require default-value/akeneo-inline-edit-bundle 2.0, (*4)


### Step 2: Enable the bundle ``` php // app/AppKernel.php public function registerBundles() { $bundles = array( // ... new DefaultValue\Bundle\AkeneoInlineEditBundle\DefaultValueAkeneoInlineEditBundle(), ); }

Step 3: Add bundle routing to app/config/routing.yml

default_value_akeneo_inline_edit:
    resource: "@DefaultValueAkeneoInlineEditBundle/Resources/config/routing.yml"

Configuration

Datagrid

Set following properties in datagrid configuration:, (*5)

1) Set rowAction to false (to disable default row Action):, (*6)

actions:
    edit:
        type:      navigate
        label:     Label
        icon:      icon-class
        link:      edit_link
        rowAction: false

2) Add to properties configuration following options:, (*7)

update_attribute_value:
    type: url
    route: default_value_inline_edit_update_attribute
    params:
        - id
        - dataLocale
        - scopeCode

3) Set column property editable to true:, (*8)

columns:
    name:
        label:         Name
        type:          product_value_field
        selector:      product_value_base
        editable:      true

Note: Editable columns should have the same name as attribute code. E.g. product has attribute name and no attribute title which comes with default grid configuration., (*9)

ACL

Action for updating attribute value has defined AclAncestor - default_value_inline_edit_update_value. So, you are able to configure the roles that have permission to edit product from Products Grid. More details about ACL and permissions configuration you can find in Akeneo documentation., (*10)

Limitation

Bundle supports following types of attributes: - Number - Text Area - Text - Price (only for USD currency), (*11)

The Versions

07/02 2018

v2.1.x-dev

2.1.9999999.9999999-dev https://github.com/DefaultValue

Add ability to enable inline edit for Akeneo PIM product grid

  Sources   Download

MIT

The Requires

  • php >=7.1.0

 

bundle symfony pim akeneo inline-edit

07/02 2018

v1.5.x-dev

1.5.9999999.9999999-dev https://github.com/DefaultValue

Add ability to enable inline edit for Akeneo PIM product grid

  Sources   Download

MIT

The Requires

  • php >=5.4.4

 

symfony2 bundle pim akeneo inline-edit

05/02 2018

1.0

1.0.0.0 https://github.com/DefaultValue

Add ability to enable inline edit for Akeneo PIM product grid

  Sources   Download

MIT

The Requires

  • php >=5.4.4

 

symfony2 bundle pim akeneo inline-edit

05/02 2018

2.0

2.0.0.0 https://github.com/DefaultValue

Add ability to enable inline edit for Akeneo PIM product grid

  Sources   Download

MIT

The Requires

  • php >=7.1.0

 

bundle symfony pim akeneo inline-edit

23/03 2016

dev-develop

dev-develop https://github.com/DefaultValue

Add ability to enable inline edit for Akeneo PIM product grid

  Sources   Download

MIT

The Requires

  • php >=5.4.4

 

symfony2 bundle pim akeneo inline-edit

07/03 2016

dev-master

9999999-dev https://github.com/DefaultValue

Add ability to enable inline edit for Akeneo PIM product grid

  Sources   Download

MIT

The Requires

 

The Development Requires

symfony2 bundle pim akeneo inline-edit