Awards, seals or certificates
The widget "Awards, seals or certificates" is a widget for shop awards or trust badges or security certificates.

Configuration
You can configure the "Awards, seals or certificates" widget in the theme configuration.
You can find the configuration in the "Widgets" tab.
Content
Edit the headline using the snippet
twt.widget.awards.headline.Edit the text using the snippet
twt.widget.awards.content.Both are only displayed if the "Show additional text" option is enabled.
You label the included SSL seal via
twt.widget.awards.sslSeal.alt/.title.For custom logos you maintain the title, alt text, aria label and alternative URL via
twt.widget.awards.customImage1–6.*(see "Accessibility").
Note: For information on how to edit snippets, see the following instructions: Texts: Editing and translation
Tip: If a change does not affect the storefront, just clear the Shopware cache: Clearing / warming up the Shopware cache
Accessibility
Unfortunately, images such as certificates or seals that are integrated via the theme configuration do not automatically receive the alt text stored in the media management. To ensure that these images can still be integrated without barriers, ThemeWare® provides separate snippets for this purpose, which you can use individually.
Title
You can maintain the tooltip text (title attribute) using the following snippet:
twt.widget.awards.customImage1.titletwt.widget.awards.customImage2.titletwt.widget.awards.customImage3.titletwt.widget.awards.customImage4.titletwt.widget.awards.customImage5.titletwt.widget.awards.customImage6.title
The title is displayed on mouseover, but is not relevant for accessibility, as it is usually ignored by screen readers.
Alt attribute or Aria-Label
Whether you use the alt or the aria-label depends on whether the image is linked or not:
Alt attribute (for non-linked images)
If the image is not linked, the
alt.Text isintegrated directly into theimgtag. This is controlled by the appropriate snippet.
Aria label (for linked images)
If the image is linked to content, the
altattribute of the image remains empty (alt=""). Instead, the descriptive text is set directly on the<a>tag using anaria-label– because here the link carries the actual meaning and the images are for "decorative" purposes only.
Tip: Use alt and aria-label attributes to make your texts more detailed, specific and context-sensitive than the title text, for example.
Instead of just "SSL-encrypted", you could write, for example: "Your data is protected by SSL encryption". This also benefits screen reader users and at the same time makes it look more trustworthy for all visitors.
Options
Show additional text
Shows the headline and text (snippets
twt.widget.awards.headline/twt.widget.awards.content).
Show default SSL seal
Shows the included SSL seal (available in German and English).
Summary
Theme configuration
Tab "Widgets" => Block "Awards, seals or certificates"
Tab "Widgets" => Block "Awards, seals or certificates" => Section "Basic configuration" => Show additional text / Show default SSL seal
Snippets
Headline
twt.widget.awards.headline
Text
twt.widget.awards.content
SSL seal
Alt attribute:
twt.widget.awards.sslSeal.altTitle attribute:
twt.widget.awards.sslSeal.title
Titles for custom logos
twt.widget.awards.customImage1.titletwt.widget.awards.customImage2.titletwt.widget.awards.customImage3.titletwt.widget.awards.customImage4.titletwt.widget.awards.customImage5.titletwt.widget.awards.customImage6.title
Alternative URLs for custom logos
twt.widget.awards.customImage1.urltwt.widget.awards.customImage2.urltwt.widget.awards.customImage3.urltwt.widget.awards.customImage4.urltwt.widget.awards.customImage5.urltwt.widget.awards.customImage6.url
Alt attribute (used if the image is not linked)
twt.widget.awards.customImage1.alttwt.widget.awards.customImage2.alttwt.widget.awards.customImage3.alttwt.widget.awards.customImage4.alttwt.widget.awards.customImage5.alttwt.widget.awards.customImage6.alt
Aria label (used if the image is linked)
twt.widget.awards.customImage1.ariaLabeltwt.widget.awards.customImage2.ariaLabeltwt.widget.awards.customImage3.ariaLabeltwt.widget.awards.customImage4.ariaLabeltwt.widget.awards.customImage5.ariaLabeltwt.widget.awards.customImage6.ariaLabel
Last updated
Was this helpful?
