Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Akeneo Inline Edit Bundle Laravel Package

default-value/akeneo-inline-edit-bundle

View on GitHub
Deep Wiki
Context7

Scrutinizer Code Quality

AkeneoInlineEditBundle

AkeneoInlineEditBundle provides ability to edit product attributes from Products Grid.

Installation

Step 1: Install bundle with composer

php composer.phar require default-value/akeneo-inline-edit-bundle 2.0

Step 2: Enable the bundle

// 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:

  1. Set rowAction to false (to disable default row Action):
actions:
    edit:
        type:      navigate
        label:     Label
        icon:      icon-class
        link:      edit_link
        rowAction: false
  1. Add to properties configuration following options:
update_attribute_value:
    type: url
    route: default_value_inline_edit_update_attribute
    params:
        - id
        - dataLocale
        - scopeCode
  1. Set column property 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.

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.

Limitation

Bundle supports following types of attributes:

  • Number
  • Text Area
  • Text
  • Price (only for USD currency)
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
cadot.eu/make
besmartand-pro/php-quality-config
sentix/ai-chatbot
codifyo/ts-generator-bundle
mintobit/jobqueue
a4sex/maintenance-bundle
a4sex/entity-date-update
a4sex/client-identifier
a4sex/base-utilites
a4sex/key-value-storage
a4sex/micro-status
chilldev/dependency-injection-extra
datinglibre/datinglibre-app-api
biberltd/corebundle
bricre/symfony-bundle-test
biberltd/logbundle
dominium/http-adapter-bundle
dominium/google-analytics
a4sex/auto-clean-entity
christhompsontldr/laravel-inky