Zum Inhalt springen
Termin buchen
Shopware 6 Manual

AI Media Labelling

AI labelling for images and videos: set a status such as AI-generated in the media manager and the label appears across your shop. The plugin detects AI hints in the metadata.

Version 6.7.1 Compatible with 6.7.0 and newer 50 min read
On this page

Introduction

AI Media Labelling helps you visibly label images and videos in your shop that were created or modified, in whole or in part, using artificial intelligence — for example with regard to the transparency obligations of the EU AI Act (Article 50).

You assign an image or video to a labelling status once in the media manager, for example “AI-generated” or “AI-modified”. From then on, a small label with the text of that status appears wherever the media item is shown in the storefront. When a customer hovers over the label, they see your notice, for example “Created with Midjourney v6”. No template work is needed.

Important — no legal advice: This plugin is a technical tool. Whether, where and with which wording you have to label AI content is something to clarify with your legal advisor. The plugin only puts your decision into practice in the shop.

What you achieve with this plugin

  • You assign a labelling status to each image and video directly in the media manager: AI-generated, AI-modified, General AI use — or Not modified for checked media without AI.
  • You create your own statuses and design each status yourself: text, tooltip, colours, font size and border.
  • You decide per status where its label appears — from the product detail page all the way to the cart and the order summary.
  • When you upload a file, the plugin reads AI hints from its metadata and suggests a status. Nothing is set without your confirmation.
  • You label many media items at once — with the bulk action or via a CSV file.
  • You use a filter to find all media items of a status, or all that have no labelling yet.
  • You keep an internal note per media item that is only visible in the administration.
  • You set the position, style and display surfaces of the label separately for each sales channel.

Who is this plugin for?

For shop owners and editors who use AI-generated or AI-edited product images, banner images or videos in their shop and want to make them recognisable to their customers.

New in version 6.7.1

What happens to your existing labels when you update from version 6.7.0 is described in Updating from version 6.7.0.

Installation

After purchase, the plugin is available directly in your Administration — there is nothing to download.

  1. Log in to your Shopware Administration (yourshop.com/admin).

  2. Open Extensions → My extensions, tab Apps. The search bar at the top finds the entry quickly, for example with the search term “AI Media”.

  3. Click Install next to AI Media Labelling.

  4. Activate the plugin with the switch to the left of the entry — done.

    The installed and activated plugin under My extensions Fig. 1: AI Media Labelling under My extensions, tab Apps — installed and active (switch blue), version 6.7.1.

During installation, the plugin also sets up the four built-in labelling statuses and the import/export profile swp_ai_media_marker_media (How to label media via a CSV file).

If AI Media Labelling does not appear in the list, your Shopware account is not yet connected to the shop. You can do this under Extensions → My extensions in the Shopware Account tab by logging in with your Shopware account.

Updating from version 6.7.0

Install the update to 6.7.1 as usual under Extensions → My extensions. Your shop looks exactly the same afterwards — the update carries over your existing data automatically:

  • All media items on which the Created or modified using AI switch was on get the AI-generated status. Your notices on the media items are kept.
  • If you had entered a Badge text or a Default legal notice in the plugin configuration, they become the label text and the tooltip of the AI-generated status. Values set under All Sales Channels then apply in all languages. Values of a single sales channel go into that channel’s default language.
  • Badge position, Badge style, Show legal notice as tooltip and the five existing display switches stay unchanged in the plugin configuration.
  • The five new display surfaces (search suggestions, off-canvas cart, cart page, order summary, order confirmation) are allowed in the sales channel but switched off at all built-in statuses. So no new labels appear until you switch them on yourself.

What changes in day-to-day use:

Tip after the update: Open the AI-generated status under Settings → Content → AI labelling and check the label text and tooltip in every language of your shop. If several sales channels with the same default language had different badge texts, the update could only take over one of them for that language.

Getting Started

A few steps to see the first label in your shop:

  1. Check the settings: Under Extensions → My extensions, click Configure next to the plugin. The plugin is ready to use right after installation — the defaults suit most shops. Details are in Settings.
  2. Label a media item: Open Content → Media and click a product image. In the sidebar, in the AI labelling card, choose the AI-generated status under Labelling and click Save. Section How to label a single image or video explains this step by step.
  3. Check the result: Open a product in the storefront that uses this image. The “AI-generated” label appears on the image.
  4. Adjust if needed: You change the texts, colours and display surfaces of the statuses under Settings → Content → AI labelling (How to manage the labelling statuses).

Settings

The plugin has two places for settings:

  • The plugin configuration — this chapter. Here you decide for each sales channel whether and where labels may appear, which corner they sit in and which style preset they use.
  • The labelling statuses under Settings → Content → AI labelling. There you decide what a label says and what it looks like — text, tooltip, colours, font, border — and on which display surfaces each status appears (How to manage the labelling statuses).

You open the plugin configuration under Extensions → My extensions via Configure next to AI Media Labelling. The page is divided into three cards: AI labelling, Display surfaces in this sales channel and Media manager (all sales channels). Click Save at the top right to apply your changes.

In the plugin configuration the label is still called “badge” — it is the same thing.

”AI labelling” card

Plugin configuration with the Sales Channel selection and the AI labelling card Fig. 2: The Sales Channel selection (here “All Sales Channels”) and below it the “AI labelling” card with the defaults “Bottom right” and “Light background”.

Sales Channel

The Sales Channel selection at the very top of the page, above the first card, determines which shop the settings of the whole page apply to. Under All Sales Channels you set the defaults for all shops. If you pick a single sales channel, you can set individual values differently there — everything else is taken over from the defaults.

Why this is useful: If you run several shops, for example a B2C and a B2B shop, you can style the labelling differently per shop or switch it off entirely in one of them.

Open documentation

At the very top of the card, the Open documentation button takes you straight to this manual on our website.

Enable plugin for this sales channel

The Enable plugin for this sales channel switch turns the AI labelling on or off in the selected sales channel without uninstalling the plugin. It is switched on by default.

Why this is useful: You want to hide the labelling in one shop, temporarily or permanently — the labelling on your media items is kept.

Badge position

Badge position selects the corner of the image the label is placed in: Bottom right (default), Bottom left, Top right or Top left. It applies to all media items you have not given their own Label position in the media manager.

Why this is useful: If your theme already places other elements in a corner, such as a discount label or gallery arrows, move the label to a free corner. For individual images where the label would cover something important, change the position directly on the media item.

Badge style

Badge style selects the style preset for all statuses without their own colours: Light background (default), Dark background or Outline only. The colours come from your theme, so the label matches your shop design. If you have set your own colours, font size or border on a status, the values of the status apply instead.

Why this is useful: A dark label stands out better on light product images, a light label on dark motifs.

When Show legal notice as tooltip is switched on (default), your customers see the notice of the media item when they hover over the label — or, if the media item has no notice of its own, the tooltip of its status. Switched off, the label shows its text only. Screen readers still read the notice aloud. There is never a tooltip in the cart, the checkout or the search suggestions.

Why this is useful: If the short label is enough for you and you do not want an extra pop-up, switch the tooltip off — the information remains available to visitors using a screen reader.

”Display surfaces in this sales channel” card

This card determines where labels may appear at all in the selected sales channel. Each labelling status additionally has its own selection of display surfaces.

The Display surfaces in this sales channel and Media manager cards Fig. 3: The “Display surfaces in this sales channel” card with its ten switches — by default only “Show on gallery thumbnails” is off — and below it the “Media manager (all sales channels)” card.

Important: A label only appears where both allow it — the sales channel here and the status. An example: Allow in search suggestions is switched on here by default, but the Search suggestions surface is switched off at the built-in statuses. So a label only appears in the search suggestions once you also tick that surface at the status.

Show on product detail pages

With Show on product detail pages (default: on), the label appears on every media item of the product detail page: the gallery main image including the zoom modal, plus image, image slider and manufacturer logo elements you have placed in the product detail layout.

Show on product tiles

With Show on product tiles (default: on), the label appears on product images in category and search listings, in cross-selling and in product sliders.

Show in shopping experiences

With Show in shopping experiences (default: on), the label appears on image, image slider, image gallery and manufacturer logo elements outside the product detail page — on landing pages, the home page and in category layouts.

Good to know: Show on product detail pages and Show in shopping experiences never overlap. The first applies to everything in the product detail layout, the second to all other shopping experiences.

Show on gallery thumbnails is off by default. On the small preview images next to the gallery main image, the label would cover the motif, and the main image next to it already carries the label. Switch it on if you also want to label the thumbnails. The built-in statuses already have the Gallery thumbnails surface ticked — as soon as you switch this on, their labels also appear on the thumbnails.

Show on videos

With Show on videos (default: on), the label also appears on labelled product videos — in the gallery and on product tiles.

Allow small labels in search, cart and checkout

Five further switches allow a small label on the product images in these places:

  • Allow in search suggestions — on the product images of the suggestion list below the search field.
  • Allow in the off-canvas cart — on the line item images of the cart that slides in.
  • Allow on the cart page — on the line item images of the cart page.
  • Allow in the order summary — on the line item images of the order summary in the checkout.
  • Allow on the order confirmation — on the line item images after the order has been placed.

All five are switched on by default. Whether a label actually appears there is decided by the status: these surfaces are off at the built-in statuses by default. Section How to show small labels in search suggestions, cart and checkout explains how to switch them on.

Why this is useful: If you never want labels in, say, the checkout of one sales channel — whatever is set at the statuses — switch the matching switch off here.

”Media manager (all sales channels)” card

Check uploads for AI hints in the metadata

When Check uploads for AI hints in the metadata is switched on (default), the plugin reads the metadata of the file after every upload in the administration and suggests a status as soon as it finds AI hints. Nothing is applied without your confirmation. Section How to detect AI hints in the metadata explains how this works.

Media do not belong to a sales channel. That is why only the value under All Sales Channels counts for this switch.

Why this is useful: If you upload many files and do not want to see a suggestion dialog afterwards, switch the check off. You can still check existing media at any time with Check metadata.

How to Use the Features

How to label a single image or video

What this gives you: You label a media item exactly once. The label then appears automatically everywhere in the shop where this image or video is shown — without editing products or shopping experiences one by one.

Step by step

  1. Go to Content → Media and open the folder containing the image or video.

  2. Click the media item. The sidebar with its details opens on the right.

  3. In the sidebar you find the AI labelling card. Expand it if it is collapsed.

    The AI labelling card in the media manager sidebar Fig. 4: The “AI labelling” card for the media item schreibtischlampe-led.png: labelling “AI-generated”, label position “As in the sales channel”, a notice of its own and an internal note.

  4. Under Labelling, choose the matching status, for example AI-generated. No labelling removes a label again.

  5. Optional: Under Label position, choose a corner for this image. As in the sales channel uses the Badge position from the plugin configuration.

  6. Optional: Under Notice (tooltip), enter your own text, for example “Created with Midjourney v6”. Up to 500 characters are possible. If you leave the field empty, the tooltip of the status is shown.

  7. Optional: Under Internal note, record why the image is classified this way, for example “Background extended with AI”. The note is only visible in the administration and never shown in the shop.

  8. Click Save at the bottom of the card. The button becomes active as soon as you have changed something.

While No labelling is selected, Label position and Notice (tooltip) are greyed out. Inactive statuses are listed with the addition “(inactive)” and cannot be newly assigned.

Important — what applies to all languages and what does not: Labelling and Label position apply to all languages. The Notice (tooltip), on the other hand, is stored per content language — in the language selected in the language selection at the top next to Upload file. Switch to each language of your shop in turn and enter the notice there. If the notice is missing in a language, the notice from your shop’s default language is shown there and, if that does not exist either, the tooltip of the status.

Tip — checked, but no AI: For images you have checked and that were not created with AI, choose Not modified. This status shows no label in the shop but records that the image has been checked. It then no longer appears in the Without labelling filter (How to find media by their labelling).

In the same card you find the Check metadata button. Use it to check the file for AI hints in its metadata (How to detect AI hints in the metadata).

How to label many media items at once

What this gives you: If you have created a whole series of images with AI, you label all of them in one go instead of opening each one.

Step by step

  1. Go to Content → Media and open the folder.

  2. Tick the checkbox at the top left of the preview of every media item you want to label. The sidebar then shows how many files are selected.

  3. In the sidebar, click Set AI labelling under Actions.

    Multi-selection with the actions in the sidebar Fig. 5: Four media items are selected. Under “Actions” the sidebar shows “Set AI labelling” and “Check metadata”.

  4. The AI labelling for multiple media window opens. At the top you see how many media items will be changed, for example “2 media items will be changed. Fields set to “Unchanged” stay as they are.”

    The AI labelling for multiple media window Fig. 6: The “AI labelling for multiple media” window for four media items: labelling “AI-generated”, label position “Unchanged” and a shared notice.

  5. Under Labelling, choose the status for all selected media items. No labelling removes the label from all selected media items; Unchanged keeps each media item’s current status.

  6. Under Label position, choose a corner for all selected media items. As in the sales channel resets it to the default from the plugin configuration; Unchanged leaves it as it is.

  7. If needed, enter a shared notice under Notice (tooltip). The field is optional: leaving it empty keeps the existing notices of the individual media items. The notice is stored in the language currently selected at the top of the media manager.

  8. If needed, enter a shared note under Internal note. Here too, leaving it empty keeps existing notes.

  9. Click Apply. The button becomes active once you have changed at least one field. Cancel closes the window without any change.

After saving, a message confirms how many media items were updated, for example “2 media items were updated.” All selected media items are changed in a single operation — up to 10,000 at once.

Tip: In the bulk action, an empty text field stays unchanged. If you want to delete notices or notes from many media items at once, use the CSV import (How to label media via a CSV file).

Important — permission: The bulk action and Check metadata require the Edit media permission. Without it, the actions are greyed out or you see the message “This change requires the “Edit media” permission.” In that case, contact the person who manages users and roles in your shop.

How your customers see the label

What this gives you: Your customers recognise at a glance which images and videos were made with AI — right on the media item, without having to look for it.

On the product detail page, the label with an icon and the text of the status sits in the corner of the gallery main image that you selected under Badge position or, on the media item, under Label position. Here the image carries the AI-generated status:

Label on the product detail page Fig. 7: The “AI-generated” label at the bottom right of the gallery main image on the product page.

When a customer hovers over the label, the notice appears as a tooltip — here the media item’s own notice “Product image created with AI – shape and colour match the original”. If the media item has no notice of its own, the tooltip of the status appears.

Tooltip with the notice Fig. 8: The media item’s own notice as a tooltip above the label.

The images also carry their labels on the product tiles in the category listing — each with the text of its status.

Labels on the product tiles Fig. 9: Product tiles in the category listing with the labels “AI-generated”, “AI upscaled” and “Made with AI”. “AI upscaled” is a custom status with its own background colour.

The status determines the text on the label and how it looks: the built-in statuses show “AI-generated”, “AI-modified” or “Made with AI” in the style preset of your sales channel. The Not modified status and inactive statuses never show a label.

In the search suggestions, the off-canvas cart, on the cart page, in the order summary and on the order confirmation, the shop shows no label by default. You can switch on a small label there (How to show small labels in search suggestions, cart and checkout). The label is also off on the gallery thumbnails by default (Settings).

How to manage the labelling statuses

What this gives you: You decide which kinds of AI use you distinguish and how each of them looks in the shop. This way the labelling fits your range and the wording you agreed with your legal advisor.

You find the statuses under Settings → Content → AI labelling. The list shows for each status its Name, its Technical name, a preview of the label in the Label column, whether the status is Active, and its Order. Statuses without a label show “shows no label” in the preview. The language selection at the top switches the language of the names. To find a status quickly, use the search bar at the very top of the administration — on this page the area AI labelling statuses is preselected there.

List of labelling statuses Fig. 10: The list of labelling statuses with the four built-in and three custom statuses (AI upscaled, AI background, AI retouched). The “Label” column shows the preview; “Not modified” shows no label.

The built-in statuses

The plugin comes with four statuses. They are marked Built-in in the list:

StatusTechnical nameText on the labelTooltip (default)
AI-generatedai_generatedAI-generatedThis content was created or modified, in whole or in part, using artificial intelligence.
AI-modifiedai_modifiedAI-modifiedThis content was modified using artificial intelligence.
General AI useai_generalMade with AIArtificial intelligence was used in creating this content.
Not modifiednot_modifiedshows no label—

The texts are also available in German and Dutch. For the small labels in search suggestions, cart and checkout, the first three statuses already carry the short text “AI”. You need the technical name for the CSV import (How to label media via a CSV file).

You can edit and deactivate the built-in statuses, but not delete them. In the row menu, Delete is greyed out for them; the hint reads “Built-in statuses cannot be deleted. You can deactivate them.”

Deactivating a status

If you switch off Active on a status, it no longer shows a label and can no longer be newly assigned to a media item. Existing assignments are kept — if you switch the status back on, the labels reappear.

Why this is useful: For example, you do not need the General AI use status and want to prevent someone in your team from choosing it by mistake.

Deleting your own statuses

You delete a status you created via the menu with the three dots at the end of its row and Delete. This only works as long as the status is not assigned to any media item.

Tip: To delete a status that is still in use, find the affected media items with the labelling filter (How to find media by their labelling) and assign them to another status with the bulk action (How to label many media items at once). After that, the status can be deleted. Alternatively, simply deactivate it.

How to create your own status or adjust a status

What this gives you: You distinguish more finely than the built-in statuses do — for example with an “AI upscaled” status for images whose resolution was merely improved — and give each status its own look.

Step by step

  1. Go to Settings → Content → AI labelling.
  2. Click Add status at the top right. To change an existing status, click its name in the list instead.
  3. Fill in the General card (see below).
  4. Set the text and look in the Label and tooltip card.
  5. In the Display surfaces card, tick where the label of this status should appear.
  6. Click Save at the top right. Cancel takes you back to the list without any change.
  7. Translate the status: choose another language of your shop in the language selection at the top, enter the name, label text, tooltip and the label texts of the display surfaces, and save again. For a new status, the language selection is only available after the first save.

A new status is active, shows a label, has the order 10 and has the surfaces Product detail page, Product tiles, Shopping experiences, Gallery thumbnails and Videos ticked.

The AI upscaled status with the General and Label and tooltip cards Fig. 11: The custom status “AI upscaled”: “General” card with the technical name ai_upscaled and “Label and tooltip” card with preview, label text, tooltip and its own background colour.

”General” card

  • Name — what the status is called in the administration, for example in the selection in the media manager. The name is also used as the label text if you do not enter one. The status cannot be saved without a name.
  • Technical name — a fixed identifier for the CSV import and integrations, for example ai_upscaled. It starts with a lower-case letter and contains only lower-case letters, digits and underscores (2 to 64 characters). Each technical name may only exist once. It cannot be changed after creation — so choose it with care.
  • Active — inactive statuses show no label and can no longer be assigned. Existing assignments are kept.
  • Show label — switched off, the status shows no label anywhere, for example for checked media without AI. The text and design fields are then greyed out, and the Display surfaces card shows the hint “This status shows no label. It only records that a media item has been checked.”
  • Order — determines the order in selection lists, smaller number first.

”Label and tooltip” card

At the top of the card, the Preview shows how the label looks with your settings. It updates while you change the fields.

  • Label text — the text shown in the label. Leave it empty to use the name of the status.
  • Tooltip — shown when hovering over the label if the media item has no notice of its own. Maximum 500 characters.
  • Background colour, Text colour and Border colour — chosen with the colour picker. Background and border colour may also be transparent. If a colour field stays empty, the label uses the style preset of the sales channel (Badge style) with your theme colours.
  • Font size (px) — 8 to 32 pixels. Empty means: font size of the theme.
  • Border width (px) — 0 to 8 pixels. Empty means: no border of its own.

Important — colour values: The plugin stores colours as hex values, for example #1a2b3c. It rejects other notations when saving.

”Display surfaces” card

Here you tick where the label of this status appears: Product detail page, Product tiles, Shopping experiences, Gallery thumbnails, Videos, Search suggestions, Off-canvas cart, Cart page, Order summary and Order confirmation. The surface must also be allowed in the plugin configuration of the sales channel (Settings).

Next to every ticked surface you see a preview of the label — in the small version for search suggestions, cart and checkout.

Override per surface: With Set override next to a surface, you give the label its own text or look in exactly that place. The fields Label text on this surface (at most 60 characters), Font size (px), Background colour, Text colour, Border width (px) and Border colour open. Empty fields take the values of the status. If a surface already has an override, the button is called Edit override. To remove an override, clear its fields again.

Display surfaces card with an open override Fig. 12: The “Display surfaces” card of the “AI-generated” status, here additionally with search suggestions, off-canvas cart and cart page. Next to each tick are the label preview and “Set override” or “Edit override”; the override of the cart page is open with the label text “AI”.

Why this is useful: A short text such as “AI” suits the small images in cart and search, while the product detail page shows the full text “AI-generated”.

How to detect AI hints in the metadata

What this gives you: Many AI tools write into the file that it was created with AI. The plugin reads this information and suggests the matching status — you do not have to research every image yourself. The decision stays with you: nothing is set without your confirmation.

On upload

When you upload files in the administration — in the media manager or via an upload field, for example on a product — the plugin checks them automatically, provided Check uploads for AI hints in the metadata is switched on (Settings). If at least one file contains AI hints, the AI hints in the metadata window opens. If the plugin finds nothing, no window appears.

  1. Read the introduction, for example “2 files contain AI hints. Review the suggestions and apply, adjust or skip them.”
  2. For each file you see a checkbox, a preview, the file name, the reason and the suggested status. The reason names what the plugin found, for example “IPTC source type: trainedAlgorithmicMedia”, “Content Credentials (C2PA) present”, “Generator: Midjourney” or “Generation parameters in the file”.
  3. Apply: leave the checkbox ticked.
  4. Adjust: choose a different status in the selection on the right.
  5. Skip: untick the checkbox for this file. The Apply all checkbox at the top ticks or unticks all files at once.
  6. Click the button at the bottom right, for example Apply 2 suggestions. Skip closes the window without changing anything.

A message confirms how many media items were updated. Only the status is set — add a notice (tooltip) or an internal note afterwards in the sidebar if needed (How to label a single image or video).

For existing media

  1. Go to Content → Media.
  2. For a single media item: click it and click Check metadata in the AI labelling card. For several media items: tick them and click Check metadata under Actions in the sidebar.
  3. For up to 20 media items, the check answers immediately. The same window as after an upload opens. If the plugin finds nothing, you see the message “No AI hints found in the metadata.”
  4. For more than 20 media items, or files of more than 100 MB together (several videos, for example), the check runs in the background. You see a message such as “150 media items are being checked in the background. The suggestions appear here once it has finished.” You can keep working in the meantime; even if you reload the page, the window opens in this browser once the check has finished.

Which hint leads to which suggestion

Hint in the fileSuggested status
Source type trainedAlgorithmicMedia (created entirely by an AI)AI-generated
Source type compositeWithTrainedAlgorithmicMedia (content with AI elements added)AI-modified
Source type algorithmicMedia, Content Credentials (C2PA) without a source type, a known generator such as Midjourney, DALL-E or Adobe Firefly, or generation parameters such as Stable Diffusion or ComfyUI write into the fileGeneral AI use
Non-AI source type, for example digitalCapture (camera photo)no suggestion

The plugin reads the source type from the IPTC or XMP information of the file (the “Digital Source Type” field).

What is checked — and what is not

  • The check covers JPEG, PNG, WebP and videos in MP4 and MOV format. Other formats, for example WebM, are only searched for embedded XMP information.
  • For Content Credentials (C2PA), the plugin only checks whether they are present and which generator they name. It does not check whether they are genuine and unaltered.
  • The check runs entirely in your shop. Your files are not sent to any external service.
  • The plugin only reads what is in the file. If that information is missing — for example because it was removed when the file was edited or saved — there is no suggestion. Whether an image was created with AI is always your decision in the end.

Important — permission: The check on upload and Check metadata are only available to users with the Edit media permission.

How to find media by their labelling

What this gives you: You see at a glance which images carry a particular status — or which have not been classified at all yet. This lets you work through your library systematically.

Step by step

  1. Go to Content → Media and open the folder you want to search. In the top-level Media folder you search the entire library.

  2. In the All labellings selection above the media list, choose a status or Without labelling. Inactive statuses are listed too, with the addition “(inactive)”.

    The labelling selection above the media list Fig. 13: The open selection above the media list with “All labellings”, “Without labelling” and the statuses; “AI-generated” is selected. In the background, the tile back to the “Media” folder stays visible.

  3. The overview now shows all matching media items from the current folder and all its subfolders. While the filter is active, subfolders are hidden; the tile back to the parent folder stays visible.

  4. All labellings removes the filter again.

Tip: Combine the filter with the bulk action: filter by Without labelling, select the images found and assign them a status with Set AI labelling (How to label many media items at once). Media items with the Not modified status count as classified and do not appear under Without labelling.

How to label media via a CSV file

What this gives you: You edit the labelling of many media items conveniently in a spreadsheet — for example when you classify a whole image library after a review — and import the result in one go. The plugin comes with its own import/export profile for this. In the administration it appears — like all profiles there — under its technical name.

Exporting

  1. Go to Settings → Automation → Import/Export and open the Export tab.
  2. Select the profile swp_ai_media_marker_media (the AI labelling profile).
  3. Click Start export.
  4. Download the finished file in the Export activity list via the menu at the end of the row.

Export with the AI labelling profile Fig. 14: The “Export” tab with the profile swp_ai_media_marker_media and a successful export in the “Export activity” list.

What the file contains

The file uses the semicolon as separator. Each row stands for one media item:

ColumnWhat it containsWhat the import does with it
idthe identifier of the media itemdetermines which media item is changed — must be filled
file_name, file_extension, folderfile name, file extension and folder — for orientation onlyignored
ai_statustechnical name of the status, for example ai_generatedsets the status; empty cell = remove the labelling
ai_positionbottom-right, bottom-left, top-right or top-leftsets the label position; empty cell = as in the sales channel
ai_noticenotice (tooltip) in your shop’s default languageat most 500 characters; empty cell = remove the notice
ai_internal_noteinternal noteempty cell = remove the note

You find the technical names of your statuses under Settings → Content → AI labelling in the Technical name column.

Importing

  1. Edit the exported file. Keep the header row and all columns, and only change the cells you want to change — an empty cell removes the respective value.
  2. Go to Settings → Automation → Import/Export and open the Import tab.
  3. Select the profile swp_ai_media_marker_media, upload your CSV file and click Start import.

The import only changes media items that already exist in your shop — it does not create new ones. Afterwards the shop updates the affected pages just as after saving in the media manager.

Rows with an error are not imported, for example with an unknown status, an unknown position, a notice longer than 500 characters or an invalid identifier in the id column. You find these rows with the reason in the invalid records file: in the Import activity list, download it via the menu at the end of the row with Download invalid records. Correct the rows and import them again.

How to show small labels in search suggestions, cart and checkout

What this gives you: The label accompanies the product image all the way into the cart and the checkout — as a small label that does not cover the small images there.

By default, no label appears in these places. You switch them on per status:

Step by step

  1. Go to Settings → Content → AI labelling and open the status, for example AI-generated.
  2. In the Display surfaces card, tick the places you want: Search suggestions, Off-canvas cart, Cart page, Order summary and/or Order confirmation. Next to each tick you see a preview of the small label (fig. 12 in How to create your own status or adjust a status).
  3. Optional: with Edit override or Set override, give the label its own short text in that place. The built-in statuses already carry “AI” there.
  4. Click Save.
  5. Repeat this for every status that should appear there.
  6. In the plugin configuration, check in the Display surfaces in this sales channel card that the matching switch is on — for example Allow on the cart page. All five are on by default.

In these places the label is smaller than on product pages and never shows a tooltip — even if Show legal notice as tooltip is switched on. Screen readers still read the notice aloud.

Small labels on the cart page Fig. 15: Small “AI” labels on the product images of the cart page — on the monitor in the colour of the custom status “AI upscaled”.

Small labels in the search suggestions Fig. 16: Small “AI” labels on the product images in the search suggestions.

Important — cart: Items in the cart carry the product image as a snapshot. If you change the labelling of a media item while the item is already in a cart, the change only appears there once the cart is recalculated. For testing, it is best to use a fresh cart, for example in a private browser window.

Good to know — search suggestions: The shop does not update the search suggestions immediately when you change the labelling of a media item. The change appears there once the cache expires (with the shop’s default setting after two hours at the latest) or after you clear the cache.

Troubleshooting

The label does not appear in the shop at all

Cause: A label only appears when everything fits together: the media item has a status, the status is active and shows a label, and the display surface is ticked at the status and allowed in the sales channel. Or your shop’s cache still shows the old state.

How to fix it:

  1. Check under Content → Media that a status is chosen and saved under Labelling for the media item. The Not modified status never shows a label.
  2. Open the status under Settings → Content → AI labelling. Check that Active and Show label are switched on and that the place in question is ticked in the Display surfaces card.
  3. Open the plugin configuration and select the affected Sales Channel at the top. Check that Enable plugin for this sales channel is switched on and that the matching switch is on in the Display surfaces in this sales channel card — for example Show on product tiles for the category listing.
  4. Clear the cache under Settings → System → Caches & indexes with Clear cache.
  5. If that does not help, ask your technical contact to check that your shop’s background processing is running (see For Administrators / Technical Details).

No label appears in the cart, the checkout or the search suggestions

Cause: These five display surfaces are switched off at every built-in status by default.

How to fix it: Tick the places at the status in the Display surfaces card, as described in How to show small labels in search suggestions, cart and checkout. If the item was already in the cart before the change, test with a fresh cart.

A change appears later on the search results page, in the search suggestions or in cross-selling

Cause: The shop does not update search results pages, search suggestions and cross-selling filled from a dynamic product stream immediately when you change the labelling of a media item. The change appears there once the cache expires — with the shop’s default setting after two hours at the latest.

How to fix it: Wait a little, or clear the cache under Settings → System → Caches & indexes with Clear cache to make the change visible immediately.

A different notice than expected appears in one language

Cause: The Notice (tooltip) on the media item is stored per content language. If none has been entered for a language, the shop shows the notice from your shop’s default language there or — if that does not exist either — the tooltip of the status.

How to fix it: In the media manager, select the affected language in the language selection at the top, open the media item and enter the notice under Notice (tooltip). Click Save. You translate the tooltip of a status under Settings → Content → AI labelling via the language selection at the top of the status page.

My colour is not applied

Cause: The plugin only accepts colours as hex values, for example #1a2b3c. With other notations it refuses to save and reports “The status could not be saved. Check the highlighted fields.” A second common reason: an override with a different colour is set for the display surface you are looking at — it takes precedence there.

How to fix it: Choose the colour with the colour picker or enter it as a hex value and save again. In the Display surfaces card, check whether Edit override appears next to the place, and adjust the colour there or clear the field.

A status cannot be deleted

Cause: Either it is a built-in status — these can never be deleted — or the status is still assigned to media items.

How to fix it: Deactivate built-in statuses instead of deleting them. For your own statuses, find the assigned media items with the labelling filter (How to find media by their labelling), assign them to another status with the bulk action and then delete the status. Or deactivate it.

A status cannot be selected in the media manager

Cause: The status is inactive. It is then listed greyed out with the addition “(inactive)”.

How to fix it: Switch on Active at the status under Settings → Content → AI labelling and save.

No suggestion appears after uploading

Cause: Usually the file simply contains no AI hints — then deliberately no window appears. Other reasons: Check uploads for AI hints in the metadata is switched off under All Sales Channels, your user lacks the Edit media permission, or the file is in a format the plugin only searches to a limited extent (How to detect AI hints in the metadata).

How to fix it: Check the switch in the plugin configuration under All Sales Channels and your permission. To check a specific file on purpose, click Check metadata in the sidebar — if the plugin finds nothing, a message tells you so.

The background check does not report back

Cause: The plugin checks more than 20 media items via your shop’s background processing. If it is not running, the check does not finish.

How to fix it: Keep the administration open in the same browser or reload it later — the window with the suggestions opens as soon as the check has finished. If nothing appears even after a longer time, ask your technical contact to check the background processing (see For Administrators / Technical Details).

The “Set AI labelling” and “Check metadata” actions are greyed out

Cause: Your user lacks the Edit media permission.

How to fix it: Ask the person who manages users and roles in your shop to grant you this permission.

The CSV import does not take over some rows

Cause: These rows contain an unknown technical name of a status, an unknown position, a notice longer than 500 characters or an invalid identifier in the id column.

How to fix it: In the Import activity list, download the invalid records via the row menu. They state the reason for each row. Correct the values and import the rows again (How to label media via a CSV file).

The label is missing only with a particular theme

Cause: Some themes completely replace the shop’s image output with their own. The plugin then finds no place to insert the label.

How to fix it: Check the display with the default theme. If the label appears there, your theme needs an adjustment — contact the theme provider or your agency.

The plugin does not appear under My extensions

Cause: Your Shopware account is not yet connected to the shop.

How to fix it: Log in with your Shopware account under Extensions → My extensions in the Shopware Account tab.

All settings

Every setting in the plugin configuration with its default value, in the order shown in the Administration. As of version 6.7.1.

AI labelling

SettingDefaultDescription
Enable plugin for this sales channelonSwitch the AI labelling off for this sales channel without uninstalling the plugin.
Badge positionBottom rightCorner of the image the label is placed in, unless a media item has its own position.
Badge styleLight backgroundApplies to every status without its own colours; colours follow the theme. Statuses with own colours, font or border override it.
Show legal notice as tooltiponShows the notice of the media item, or the tooltip of its status, when hovering the label. Switched off, the label shows the text only; screen readers still read the notice. Never shown in cart, checkout and search suggestions.

Display surfaces in this sales channel

SettingDefaultDescription
Show on product detail pagesonEvery medium in a product detail layout: the gallery main image including the zoom modal, plus image, image slider and manufacturer logo elements placed there.
Show on product tilesonCategory and search listings, cross-selling and product sliders.
Show in shopping experiencesonThe same elements outside a product detail layout: image, image slider, image gallery and manufacturer logo on landing pages, the home page and category layouts.
Show on gallery thumbnailsoffOff by default: at thumbnail size the badge covers the motif, and the main image next to it already carries the label.
Show on videosonProduct videos in the gallery and on product tiles.
Allow in search suggestionsonSmall label on the product images of the search suggestions. Appears only for statuses that have this surface switched on.
Allow in the off-canvas cartonSmall label on the line item images of the cart that slides in. Appears only for statuses that have this surface switched on.
Allow on the cart pageonSmall label on the line item images of the cart page. Appears only for statuses that have this surface switched on.
Allow in the order summaryonSmall label on the line item images of the checkout confirmation page. Appears only for statuses that have this surface switched on.
Allow on the order confirmationonSmall label on the line item images after the order has been placed. Appears only for statuses that have this surface switched on.

Media manager (all sales channels)

SettingDefaultDescription
Check uploads for AI hints in the metadataonAfter an upload in the administration the plugin reads IPTC/XMP, Content Credentials (C2PA) and generator tags of the file and suggests a status. Nothing is applied without your confirmation. Media do not belong to a sales channel: only the value under “All sales channels” counts.

FAQ

Q: Does this plugin make my shop legally compliant?

A: The plugin is a technical tool and does not replace legal advice. It makes your AI content visibly recognisable — whether and with which wording you have to label it is something to clarify with your legal advisor.

Q: Does the plugin detect AI images automatically?

A: It reads the AI hints contained in the file and suggests a status. Nothing is set without your confirmation. The plugin does not analyse the image content — if the file contains no such information, there is no suggestion.

Q: Are my images sent to an external service?

A: No. The metadata check runs entirely in your shop.

Q: Do I have to edit every product individually?

A: No. You label the image or video itself in the media manager. The label then appears wherever this media item is used — for all products and in all shopping experiences.

Q: Where have Badge text and Default legal notice gone?

A: Since version 6.7.1 they belong to the status. You find them as Label text and Tooltip at the AI-generated status under Settings → Content → AI labelling. During the update the plugin carried your previous texts over there.

Q: What is the “Not modified” status for?

A: It records that you have checked a media item and that it was not created with AI. It shows no label in the shop. This way the Without labelling filter only shows the media items you have not classified yet.

Q: Do my customers see the internal note?

A: No. The internal note is only visible in the administration and never shown in the shop.

Q: Does this also work with videos?

A: Yes. Labelled product videos carry the label in the gallery and on product tiles as long as Show on videos is switched on. The metadata check also covers videos in MP4 and MOV format.

Q: Can I switch the labelling off in one of my shops?

A: Yes. Select the sales channel at the top of the settings and switch off Enable plugin for this sales channel. The labelling on your media items is kept.

Q: Why don’t I see the label in the cart?

A: In the cart, the checkout and the search suggestions, the label is switched off at every status by default. You switch it on at the status in the Display surfaces card (How to show small labels in search suggestions, cart and checkout).

Q: Can I show a shorter text in the cart than on the product page?

A: Yes. Set an override with its own Label text on this surface for that display surface at the status. The built-in statuses already carry “AI” for search suggestions, cart and checkout.

Q: Can I remove the label from many media items at once?

A: Yes. Select the media items, click Set AI labelling, choose No labelling under Labelling and click Apply.

Q: Which notice appears if I don’t enter one on the media item?

A: The Tooltip of the status. The built-in statuses have tooltips in English, German and Dutch, for example for the AI-generated status: “This content was created or modified, in whole or in part, using artificial intelligence.”

For Administrators / Technical Details

This section is intended for technical administrators. You do not need it for normal use.

System requirements

  • Shopware: 6.7
  • PHP: 8.2 or newer

Installation via the command line

If the plugin is already present in the shop, install and activate it like this:

php bin/console plugin:refresh
php bin/console plugin:install SwpAiMediaMarkerSix --activate
php bin/console cache:clear

Where the labelling is stored

The labelling is stored as custom fields on the media item, in the custom field set swp_ai_media_marker: swp_ai_marker_status holds the technical name of the status, swp_ai_marker_position the label position and swp_ai_marker_legal_notice the notice (translatable per language, at most 500 characters). The administration always writes status and position in the system language; the other languages inherit them. If a language deliberately had no badge in 6.7.0, the status Not modified stays there after the update; if you set the status again in that content language, the status of the system language applies again. The CSV export always reads the system language.

The status definitions, the internal notes and the suggestions of the metadata check are stored in the plugin’s own tables: swp_ai_media_marker_status (with a translation table), swp_ai_media_marker_note and swp_ai_media_marker_suggestion. Shopware’s own tables remain unchanged.

Integrations from version 6.7.0

The swp_ai_marker_is_ai field from version 6.7.0 is no longer part of the custom field set. If an integration still writes it, the storefront treats it as the AI-generated status — as long as the media item has no swp_ai_marker_status. The filter and the CSV import only know the new field. Switch integrations to swp_ai_marker_status.

Background processing (message queue)

The plugin uses the message queue in two places:

  • Cache: After a change to the labelling, the plugin clears the affected page caches (product detail, category, shopping experience, cross-selling) asynchronously and in batches — also during a bulk import.
  • Metadata check: The plugin checks more than 20 media items, or more than 100 MB of files together, as a background job, in batches of 20.

For both to run promptly, a worker must be running (for example bin/console messenger:consume). Without a running worker, a changed label only appears after the HTTP cache expires (Shopware default: 7200 seconds) or after clearing the cache manually, and background checks do not finish.

A scheduled task deletes unprocessed suggestions of the metadata check after 14 days. For this, your shop’s scheduled task runner must be running.

Cache

By design, the automatic cache invalidation does not reach two places: search results pages and search suggestions (the search routes set no product-related cache tag) and cross-selling of the “product stream” type (which products a stream delivers is not stored anywhere). There a change appears when the HTTP cache entry expires or the cache is cleared.

Cart line items carry the image as a snapshot. A changed label appears there after the next recalculation of the cart.

The status definitions are kept in the object cache. When you change a status, the plugin discards this cache and the pages that show a label.

Interfaces

  • Store API: The route GET/POST /store-api/swp-ai-media-marker/config returns the settings of the current sales channel, all statuses including their design and the names of the custom fields — for Composable Frontends that render the label themselves. The keys from version 6.7.0 are still included. The labelling itself comes as a custom field with every media response; the internal note never does.
  • Admin API (metadata check): POST /api/_action/swp-ai-media-marker/inspect (up to 20 media items and 100 MB, immediate response; above that error code SWP_AI_MEDIA_MARKER__INSPECTION_TOO_LARGE), POST /api/_action/swp-ai-media-marker/inspect-async (background job, response 202) and GET /api/_action/swp-ai-media-marker/inspect-job/{jobId} (job progress). The Edit media permission is required.

Permissions

For the status management under Settings → Content → AI labelling, the plugin brings its own permissions for viewing, editing, creating and deleting, which you grant in the role management in the settings area. Without a permission, the corresponding buttons are greyed out. Labelling in the media manager, the bulk action and the metadata check require the Edit media permission. Roles that may already view or edit media automatically receive the permissions they need for statuses, notes and suggestions when updating to 6.7.1.

Logging

The plugin writes errors and warnings to its own log file: var/log/SwpAiMediaMarkerSix-<date>.log.

Uninstallation

If you uninstall the plugin without keeping the plugin data, it removes its tables (statuses, notes, suggestions), the custom field set and the import/export profile. If you choose to keep the data, everything is preserved and available again after a reinstallation.


This manual was created for AI Media Labelling version 6.7.1.

How much help do you need?

  • Updates and compatibility: Plugin-Care from €149 per month

    Before every Shopware release we check whether your plugins keep up. You get a written recommendation and install the updates yourself. Cancel monthly.

    See Plugin-Care
  • Setup or customisation: intro call

    Want us to set up the plugin, or are you missing a feature? We sort that out in a free intro call.

    Book an intro call

Something in the plugin not working? Write to us

Need a team that keeps your shop running?

We have been working with Shopware since 2010 and maintain shops including updates, hotfixes and the plugins you are configuring right now.