default-value/akeneo-inline-edit-bundle
AkeneoInlineEditBundle provides ability to edit product attributes from Products Grid.

php composer.phar require default-value/akeneo-inline-edit-bundle 2.0
// app/AppKernel.php
public function registerBundles()
{
$bundles = array(
// ...
new DefaultValue\Bundle\AkeneoInlineEditBundle\DefaultValueAkeneoInlineEditBundle(),
);
}
app/config/routing.ymldefault_value_akeneo_inline_edit:
resource: "@DefaultValueAkeneoInlineEditBundle/Resources/config/routing.yml"
Set following properties in datagrid configuration:
rowAction to false (to disable default row Action):actions:
edit:
type: navigate
label: Label
icon: icon-class
link: edit_link
rowAction: false
properties configuration following options:update_attribute_value:
type: url
route: default_value_inline_edit_update_attribute
params:
- id
- dataLocale
- scopeCode
editable to true: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.
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.
Bundle supports following types of attributes:
How can I help you explore Laravel packages today?