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

Attribute Description Bundle Laravel Package

agencednd/attribute-description-bundle

View on GitHub
Deep Wiki
Context7

AttributeDescriptionBundle

This connector improve your workflow by adding descriptions to your attributes.

Features

  • Add/Delete/Edit a localizable description to your attribute
  • Import/Export attribute description with Akeneo import/export
  • The description is displayed on the product page under the attribute field

Requirements

AttributeDescriptionBundle Akeneo PIM Community Edition Akeneo PIM Enterprise Edition
v1.0.* v2.*
v1.1.* v2.* v2.*

Connector installation on Akeneo PIM

If it's not already done, install Akeneo PIM.

Get composer (with command line):

$ cd /my/pim/installation/dir
$ curl -sS https://getcomposer.org/installer | php

Then, install DnDAttributeDescriptionBundle with composer:

In your composer.json, add the following code dependending on your Akeneo PIM version:

  • In require:
{
    "agencednd/attribute-description-bundle": "1.1.*"
}

Next, enter the following command line:

$php composer.phar require agencednd/attribute-description-bundle

Enable the bundle in app/AppKernel.php file, in the registerBundles function, before the line return $bundles:

$bundles[] = new Dnd\Bundle\AttributeDescriptionBundle\DndAttributeDescriptionBundle();

Then you need to override your Attribute entity in app/config/config.yml (at the end of the file):

akeneo_storage_utils:
    mapping_overrides:
        -
            original: Pim\Bundle\CatalogBundle\Entity\Attribute
            override: Dnd\Bundle\AttributeDescriptionBundle\Entity\Attribute
        -
            original: Pim\Bundle\CatalogBundle\Entity\AttributeTranslation
            override: Dnd\Bundle\AttributeDescriptionBundle\Entity\AttributeTranslation

And enter the following command line:

$php bin/console doctrine:schema:update --force

Configuration

Just create/edit an attribute, a new tab has appeared and you can fill in your attribute description for each locale.

To import attribute description you need to add a new column to your classic attribute import file : description-{locale_code} (e.g: description-en_US).

About us

Founded by lovers of innovation and design, Agence Dn'D assists companies in the creation and development of customized digital (open source) solutions for web and E-commerce since 2004.

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.
besmartand-pro/php-quality-config
sentix/ai-chatbot
terminal42/code-quality-tools
codifyo/ts-generator-bundle
testo/fiber
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