ThemeWare® 5.6.0 is now available! 🎉 The update for ThemeWare® from Shopware 6.7.15 brings a language selection with flags for all languages and prepares your shop for Shopware 6.8, plus three bug fixes. All changes at a glance, in full detail in the changelog:
Highlights
- Language selection with flags for all languages, optionally with a globe or the language name only
Changes
- The theme manager now opens the first tab much faster Pro
- Preparation for Shopware 6.8: The flags of the language selection now come from ThemeWare, as Shopware removes its flags with 6.8
- Bugfix: Icons from the ThemeWare icon sets now remain visible even with ad blockers enabled
- Bugfix: Results in the global admin search now appear only once Pro
- Bugfix: The buy button with icon no longer causes an error in the browser console outside the quickview
Notes
- The CSS class "twt-icon" on icons from the icon sets is now called "themeware-iconset". Please adjust custom CSS using "twt-icon" accordingly
- The flags of the language selection are now images with the CSS class "twt-language-flag". Please adjust custom CSS using "language-flag" accordingly
- The configurations "Load extended flag icons" and "Shopware Language Pack" are deprecated and without function, all flags are now included
- If you explicitly saved "Load flag icons" as "no", the language selection now shows the language name without a flag
Highlights in detail
Language selection with flags for all languages, optionally with a globe or the language name only
The language selection in the top bar and in the mobile navigation now shows a matching flag for every language. All flags are included in ThemeWare, you don't need an additional extension such as the Shopware Language Pack. The flags of ThemeWare® 5.6.0 also work with Shopware 6.8, which removes its own flags.
Under "Header => Top bar => Language menu => Flags / globe" you choose what is shown in front of the language name (more in the manual under flag icons):
- none: the language name only. It is then always shown, even if "Show label" would otherwise hide it.
- Globe: a globe in front of the language name, the list of languages shows the names only.
- Country flags (default): The flag depends on the country. With ISO code "de-CH" the flag of Switzerland is shown.
- Language flags: The flag depends on the language. With ISO code "de-CH" the flag of Germany is shown. Languages that cannot be clearly assigned to one country, e.g. Chinese, Russian or Arabic, show the flag of their country.
If you offer languages for several countries, we recommend country flags.
Note: The previous flag CSS is no longer needed.
Changes in detail
The theme manager now opens the first tab much faster Pro
The first tab you click after opening the theme manager is now displayed much faster. The settings are ready right after the click.
Preparation for Shopware 6.8: The flags of the language selection now come from ThemeWare, as Shopware removes its flags with 6.8
With version 6.8, Shopware removes the flags from the language selection and only shows the language name there. So that your language selection can still show flags after the update to Shopware 6.8, ThemeWare now ships the flags itself. Under Shopware 6.7 the language selection stays as usual with the default configuration, except that every language now gets its flag. You find all settings in the highlight above.
Bugfix: Icons from the ThemeWare icon sets now remain visible even with ad blockers enabled
In certain ad blocker configurations, e.g. Adblock Plus, the icons from the ThemeWare icon sets, such as search, wishlist, customer account and cart, could be hidden. The buttons remained usable. The icons are now displayed even with an ad blocker enabled.
Note: The "Fanboy Social" filter list hides the CSS class twt-icon on all websites. The icons therefore no longer carry this class, see notes.
Bugfix: Results in the global admin search now appear only once Pro
In the global search of the administration, results such as products and categories could appear twice. Results from other extensions could also show an additional line with an internal ID. Each result now appears only once.
Bugfix: The buy button with icon no longer causes an error in the browser console outside the quickview
With the display type "Text & Icon" for the buy button, clicking it on the product page and in the product box in the listing caused an error in the browser console. The item was still added to the cart. The error no longer occurs.
Notes in detail
The CSS class "twt-icon" on icons from the icon sets is now called "themeware-iconset"
If you use custom CSS for the icons from the ThemeWare icon sets, change the selector .twt-icon to .themeware-iconset.
/* before */
.twt-icon { }
/* new */
.themeware-iconset { }
The flags of the language selection are now images with the CSS class "twt-language-flag"
If you adjust the flags of the language selection with custom CSS, change the selector .language-flag to .twt-language-flag. The flag is now an image, rules for individual flags via background-image no longer apply.
/* before */
.language-flag { }
/* new */
.twt-language-flag { }
The configurations "Load extended flag icons" and "Shopware Language Pack" are deprecated and without function, all flags are now included
You now find both configurations under "Others => Deprecated". They no longer have any function: all flags are included, and flags no longer appear twice with the Shopware Language Pack. You set the flags under "Header => Top bar => Language menu => Flags / globe".
If you explicitly saved "Load flag icons" as "no", the language selection now shows the language name without a flag
The configuration is now called "Flags / globe", the previous value "no" corresponds to the option "none". If you explicitly saved "no", the language selection now shows the language name only, previously it showed the Shopware flags for German and English. To show flags, choose "Country flags" or "Language flags". If you never changed the configuration, you see country flags as before, now for all languages.