Introduction

This section describes how the module maps images for categories to Shopware and what configuration options are available.

Asset Type Definition

The assets taken into account while mapping category images must be part of an AssetGroup that has one of the types defined in Elio\CommerceBundle\Definition\Category\CategoryAssetGroupTypeDefinition. Available type definitions are:

  • CATEGORY_IMAGE

Asset Selection

Only the first asset assigned to a category is taken into account. Every other asset is ignored.

Filenames

Files uploaded for categories are named by the following pattern: category_{{category_identifier}}

Configuration

This is the configuration for the mapping of category media:

{
    "subsections": {
        "category": {
            "enabled": true,
            "deleteShopwareOnlyFiles": false
        }
    }
}