spryker-demo/product-attribute-set-feature

Product atrribute set [feature]

1.0.0 2025-04-10 18:17 UTC

This package is auto-updated.

Last update: 2025-05-22 16:55:10 UTC


README

Minimum PHP Version

This feature introduces product attribute set functionality.

Installation

composer require spryker-demo/product-attribute-set-feature

Add SprykerDemo namespace to configuration

$config[KernelConstants::CORE_NAMESPACES] = [
    ...
    'SprykerDemo',
];

Adjust navigation configuration file

# config/Zed/navigation.xml

<attribute-sets>
   <label>Attribute Sets</label>
   <title>Attribute Sets</title>
   <bundle>product-attribute-set-gui</bundle>
   <controller>index</controller>
   <action>index</action>
</attribute-sets>

Apply Twig customization

# src/Pyz/Zed/ProductAttributeGui/Presentation/View/product-abstract.twig

{% block content %}
    {{ render(controller('/product-attribute-set-gui/render-form/attribute-set')) }}

    ...
{% endblock %}
# src/Pyz/Zed/ProductAttributeGui/Presentation/View/product.twig

{% block content %}
    {{ render(controller('/product-attribute-set-gui/render-form/attribute-set')) }}

    ...
{% endblock %}