Skip to main content Skip to search Skip to main navigation
Shopware Payments ramp-up pricing for 12 months. Limited time only. Learn more
Diese Seite ist auch auf Deutsch verfügbar.
Sharpness Solutions GmbH

Rule-based media

Description

Highlights

  • Control product images with the Shopware Rule Builder
  • Rule condition “Annual date range” for seasons and fixed-date holidays
  • Images replace or extend the standard images
  • Preview for any selection of rules
  • No cron job, works with the HTTP cache

Features

  • Combine Rule Builder conditions: date range, sales channel, customer group
  • Annual date range may span the new year and handles 29 February
  • Four season rules as templates
  • Three display modes: replace, add before, add after
  • Cover by drag and drop or “Use as cover”
  • Priority when several rules match
  • Variant assignments take precedence over parent product assignments
  • Copy assignments from other products
  • Preview with cover and gallery
  • Shown on product pages, in listings, search, sliders, cross-selling and the Store API
  • Open Graph and JSON-LD use the current image
  • Configurable timezone for the day change
  • Neutral fallback image for products without images
  • Separate permissions under Users & permissions
  • Import gateway for ERP and PIM integrations

About the Extension

With “Rule-based media”, a product shows different images as soon as a rule from the Shopware Rule Builder matches. At Christmas the product appears in a festive look, on Black Friday with the campaign image, in autumn in autumn colours. When the date range ends, the shop shows the standard images again. Nobody has to swap images on the day.

How it works

On the product tab “Rule-based media” you assign a rule and images to a product. The rule alone decides when the images appear. It combines Rule Builder conditions such as a date range, a sales channel and a customer group.

For recurring periods the plugin adds the rule condition “Annual date range”, for example “1 December to 26 December”. It applies every year; you do not enter a year. When first activated, the plugin creates four season rules for spring, summer, autumn and winter as templates.

The shop picks the images when it loads the product, based on the matching rules. Switching images writes nothing to the database and needs no cron job. The HTTP cache takes the date into account and serves the new images after midnight.

Three display modes

  • Replaces standard images: The shop shows only the images of the assignment; the first one is the cover.
  • Adds before standard images: The first image of the assignment becomes the cover, the standard images stay in the gallery.
  • Adds after standard images: The images extend the gallery, the cover stays.

The images appear on the product page, in listings, in search, in product sliders, in cross-selling and in the Store API. By default, listings, search and sliders show only the cover.

For editors

  • Priority by drag and drop when several rules match at the same time
  • Variant assignments take precedence over parent product assignments
  • Copy assignments from another product
  • Preview: select rules and see cover and gallery as the shop would show them
  • Notice in the media card once a product has rule-based images
  • Separate permissions for viewing, editing, creating and deleting

For developers

A documented import gateway accepts assignments from ERP or PIM systems. The import never changes manual assignments. The documentation ships with the plugin.

Requirements

  • Shopware 6.7, from version 6.7.1, self-hosted
  • PHP 8.2 to 8.5

Details

  • Available: English, German
  • Latest update: 25 November 2026
  • Version: 1.0.1
  • Category: Detail Page

About the Extension Partner

Sharpness Solutions GmbH

Sharpness Solutions GmbH

Partner Status

  • Shopware Extension Partner Shopware
    Extension Partner

Details

  • Partner since: 2025
  • Extensions: 1

Support

  • Based in: Germany
  • Speaks: German, English
  • Response time: Very quickly