Skip to content

Latest commit

 

History

History
104 lines (58 loc) · 3.62 KB

CONFIGURE_DETAIL.md

File metadata and controls

104 lines (58 loc) · 3.62 KB

Advanced configuration

Product filter rules

BO > Akeneo > Product filter rules

Product Filters

You can configure filters to select which products will be imported.

You can also configure filters as advanced mode, with this, you can create your own query for this request /api/rest/v1/products

Product filters Akeneo documentation: https://api.akeneo.com/documentation/filter.html

Categories

From BO

BO > Akeneo > Categories

The category import configuration contains two multi-selects, the first allows you to select the categories that you want to include and the second the categories that you want to exclude from the import. In either case, selecting a parent will exclude the parent and its children.

From package configuration file

The category import configuration contains two configurations.

root_category_codes allows you to choose the categories that you want to include.

excluded_category_codes allows you to choose the categories that you want to exclude from the import.

Selecting a parent will exclude the parent and its children.

# config/packages/synolia_akeneo_plugin.yaml

synolia_sylius_akeneo:
    category_configuration:
        root_category_codes:
            - master
        excluded_category_codes:
            - led_tvs
            - audio_video
            - mp3_players

Products

BO > Akeneo > Products

Akeneo Price Attribute Mapping

Attribute Price Attribute

Allows you to select the attribute that will be used to define the price of the imported product. This attribute must be of type pim_catalog_price_collection in Akeneo.

Akeneo Type to Sylius Type Mapping

Sylius Enabled Channels

Allows you to select the attribute that will be used to obtain information on which channels the products will be activated on. This attribute must be of type pim_catalog_multiselect.

Import media images for products

Media import is authorized by checking the Import media files box, then two new configurations will be displayed.

Akeneo image attributes

This is used to define which attributes we want to use to import images on our product.

Product images mapping

This configuration is not mandatory and is used to define a special code according to the attribute of the imported image. This make it possible to differentiate a main image from a secondary one, for example. This does not concern the attributes of type Asset, because this functionality is not yet developed.

Product Image Importation

Attributes

BO > Akeneo > Attributes

Map attribute types manually

This configuration will generally not be used, because the Akeneo module from Synolia is able to automatically detect the correct type of the attribute if it is a standard Akeneo attribute. However, it can be used to map custom attributes that might have been done on Akeneo to an attribute type of Sylius.

Akeneo Type to Sylius Type Mapping

Map Akeneo attributes to Sylius attributes of a different code

This part allows you to manually map an Akeneo attribute to a Sylius attribute by indicating the attribute code on each of the solutions. Useful if the code of an attribute differs between Sylius and the PIM.

Akeneo Attribute Code To Sylius Atribute Code

Learn more about how reference entities are imported.

Previous step: Initial configuration

Next step: Customization