ThemeWare® 2.0.2 is now available! 🎉 The new release includes the following changes:
Changes
- Bugfix: Empty CMS block "Breadcrumb navigation" in the storefront fixed
- Bugfix: Flags in language selection fixed
- Deprecated snippet
component.cms.vimeo.privacyNoticechanged tocomponent.cms.vimeo.privacyNoticeText - Deprecated snippet
footer.serviceContactLinkchanged tofooter.serviceContactText
Changes in detail
Bugfix: Empty CMS block "Breadcrumb navigation" in the storefront fixed
Fixed a bug where the CMS breadcrumb navigation was accidentally hidden by the breadcrumb theme configuration.
Bugfix: Flags in language selection fixed
In Shopware 6.5 the isoCode of the country flags in the header was changed. This change was transferred to the tempalte language-widget.html.twig.
Before
set flagCountry = isoCode[0]
set flagLanguage = isoCode[1]
After
set flagCountry = isoCode[1]
set flagLanguage = isoCode[0]
Deprecated snippets changed
In Shopware 6.5, some Shopware snippets that opened modals have been replaced. Due to the change, the JavaScript plugin AjaxModal can now open Bootstrap modals.
Before
<a data-bs-toggle="modal" data-url="/my/route" href="/my/route">Open Ajax Modal</a>
After
<a data-ajax-modal="true" data-url="/my/route" href="/my/route">Open Ajax Modal</a>
This affects the following snippets:
general.privacyNotice=>general.privacyNoticeTextaccount.profileDelete=>account.profileDeleteTextcheckout.confirmTerms=>checkout.confirmTermsTextcheckout.confirmTermsReminder=>checkout.confirmTermsReminderTextcontact.privacyNotice=>contact.privacyNoticeTextfooter.serviceContactLink=>footer.serviceContactTextfooter.includeVat=>footer.includeVatTextfooter.excludeVat=>footer.excludeVatTextcookie.message=>cookie.messageTextcomponent.cms.vimeo.privacyNotice=>component.cms.vimeo.privacyNoticeText
The new snippets are now used in the storefront. The old snippets are still available in the snippet administration so that you can migrate them more easily.
In ThemeWare®, the following two snippets are affected by the change, at the template level:
Deprecated snippet 'component.cms.vimeo.privacyNotice' changed
The snippet component.cms.vimeo.privacyNotice is deprecated. Instead, the snippet component.cms.vimeo.privacyNoticeText is used now.
NEXT-24448 | Fix console error on AjaxModal
Deprecated snippet 'footer.serviceContactLink' changed
The footer.serviceContactLink snippet is deprecated. Instead, the footer.serviceContactText snippet is used now.
NEXT-24448 | Fix console error on AjaxModal
Notes
Due to the changes to the snippets in Shopware 6.5, we recommend that you check the above snippets. For example, the newsletter widget is often used in the ThemeWare® Footer. There, Shopware previously used the snippet: contact.privacyNotice. Now this is: contact.privacyNoticeText