Name | Modified | Size | Downloads / Week |
---|---|---|---|
Parent folder | |||
README.md | 2025-05-15 | 9.6 kB | |
Release v6.7.0.0-rc4 source code.tar.gz | 2025-05-15 | 12.2 MB | |
Release v6.7.0.0-rc4 source code.zip | 2025-05-15 | 19.4 MB | |
Totals: 3 Items | 31.6 MB | 0 |
Notable Changes
Mitigate Meteor components migration with deprecated components
To support extension developers and ensure compatibility between Shopware 6.6 and Shopware 6.7, a new prop called deprecated
has been added to Shopware components.
- Prop Name:
deprecated
- Default Value:
false
(uses the new Meteor Components by default) - Purpose:
- When
deprecated
is set totrue
, the component will render the old (deprecated) version instead of the new Meteor Component. - This allows extension developers to maintain a single codebase compatible with both Shopware 6.6 and 6.7 without being forced to immediately migrate to Meteor Components.
- When
Example:
:::html
<!-- Uses mt-button in 6.7 and sw-button-deprecated in 6.6 -->
<template>
<sw-button />
</template>
<!-- Uses sw-button-deprecated in 6.6 and 6.7 -->
<template>
<sw-button deprecated />
</template>
Improve extensibility of header and footer ESI templates
With this change it is possible to add query parameters to the header/footer ESI requests. This could be used to customize the header/footer templates.
-
Extending the
src/Storefront/Resources/views/storefront/base.html.twig
file::::twig {% sw_extends '@Storefront/storefront/base.html.twig' %} {% block base_esi_header %} {% set headerParameters = headerParameters|merge({ 'vendorPrefixPluginName': { 'activeRoute': activeRoute } }) %} {{ parent() }} {% endblock %}
-
Within a plugin, you can also use the
Shopware\Storefront\Event\StorefrontRenderEvent
:::php class StorefrontSubscriber { public function __invoke(StorefrontRenderEvent $event): void { if ($event->getRequest()->attributes->get('_route') !== 'frontend.header') { return; }
$headerParameters = $event->getParameter('headerParameters') ?? []; $headerParameters['vendorPrefixPluginName']['salesChannelId'] = $event->getSalesChannelContext()->getSalesChannelId(); $event->setParameter('headerParameters', $headerParameters); }
}
After that you can use this data to customize the header template:
:::twig
{% sw_extends '@Storefront/storefront/layout/header.html.twig' %}
{% block header %}
{{ dump(headerParameters.vendorPrefixPluginName.activeRoute) }}
{{ dump(headerParameters.vendorPrefixPluginName.salesChannelId) }}
{{ parent() }}
{% endblock %}
See the UPGRADE.md for all important technical changes.
- #7346 - feat: Fixes [#7346] - Allow variable icon names in sw_icon [6.7.0.0] (#8477)
- #7476 - fix no new line for placeholder
- #7652 - Rename
order_transaction
transition actionpay
andpay_partially
- #8002 - Show customer default addresses in available listing
- #8412 - fix broken snippets in rule builder conditions
- #8499 - Improve basic captcha form validation compatibility
- #8649 - Solve admin promotion issues
- #8686 - Case insensitive guest order e-mail and postal code check
- #8739 - Imitate customer active sales channel check @MelvinAchterhuis
- #8896 - Fix local mode of
sw-one-to-many-grid
@aragon999 - #8937 - Fix multi select filter for translated entities @nickygerritsen
- #8964 - Allow small size of
sw-simple-search-field
@aragon999 - #9012 - export createTextEditorDataMappingButton through global Shopware component helper
- #9037 - Allow small size of
sw-select-rule-create
@aragon999 - #9051 - Changed text when editing locked CMS page in table view @MelvinAchterhuis
- #9060 - Remove extra closing curly brace @MelvinAchterhuis
- #9075 - Add active styling class to main navigation
- #9102 - Fix admin password recovery submit @wannevancamp
- #9112 - Fix height of search field in
sw-card-filter
component @aragon999 - #9118 - Allow enriching seoUrls for search results's extensions
- #9137 - Fix admin ui when staging mode enabled @MelvinAchterhuis
- #9160 - Revert "Silently ignore admin ES errors (NEXT-37382)" @paulvonallwoerden
- #9180 - Elasticsearch index's mapping should be updated post update
- #9199 - Fix StructEncoder custom field visibility @akf-bw
- #9210 - Do not include empty subcategory navigation lists @aragon999
- #9215 - "Fix admin watcher Vite origin host for DDEV" @vanWittlaer
- #9252 - Change PropertyGroupOption
combinable
visibility @akf-bw - #9290 - Improve sw-page back button linking @lacknere
- #9313 - Add blocks for inputs for address and register form @aragon999
- #9334 - Added locking mechanism to CartOrderRoute
- #9357 - Fixed accessibility issue of collapse button of orders @aragon999
- #9390 - Cleanup cancel order modal @aragon999
- 8265 - Changed form validation to check for custom error message
- 8285 - Fixed promotion deletion cart error
- 8828 - Fix category search results not scrollable
- 8859 - Add deprecated prop to facilitate the migration to meteor components
- 8922 - Fix allowFullscreen attribute in CmsGdprVideoElement
- 8925 - Fix faulty modal behavior in Advanced Pricing "Create New Rule" @maheshbohara
- 8976 - Fix admin assets with underscores in plugin names
- 8978 - Fix incorrect proportions of tags in orders @maheshbohara
- 9207 - Fixed misalignment of 'Add tags...' placeholder in order edit view @maheshbohara
- https://github.com/shopware/shopware/issues/8136 - Improve extensibility ESI templates
- https://github.com/shopware/shopware/issues/9024 - Fix RetryableTransaction missing savepoint error
- #9389 - Fix search result order