Skip to content

Commit b67a19b

Browse files
committed
6.3.2 Compatible
1 parent 7516cc3 commit b67a19b

File tree

4 files changed

+19
-11
lines changed

4 files changed

+19
-11
lines changed

CHANGELOG_de-DE.md

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
# 1.0.2 - SW 6.3.2 Compatible
2+
3+
# 1.0.1 - Fix HTTP Caching
4+
- Laden Sie mit AJAX das neueste Produkt in die CMS-Seite und die Produktdetails.
5+
- Kleinere Korrektur
6+
- Leistung verbessern
7+
18
# 1.0.0 - Erste Veröffentlichung
29
- Fügen Sie in den Einkaufserlebnissen den Block "Zuletzt angesehener Produktschieber" hinzu.
310
- Fügen Sie in den Einkaufserlebnissen das Element "Zuletzt angesehener Produktschieber" hinzu.
@@ -7,7 +14,3 @@
714
- Das Standardelement "Zuletzt angesehener Produktschieber" kann in der Plugin-Konfiguration geändert werden.
815
- Die maximale Anzahl der auf dem Element angezeigten Elemente und ihre Anzeigereihenfolge können in der Konfiguration des Plugins konfiguriert werden.
916

10-
# 1.0.1 - Fix HTTP Caching
11-
- Laden Sie mit AJAX das neueste Produkt in die CMS-Seite und die Produktdetails.
12-
- Kleinere Korrektur
13-
- Leistung verbessern

CHANGELOG_en-GB.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
# 1.0.2 - SW 6.3.2 Compatible
2+
3+
# 1.0.1 - Fix HTTP Caching
4+
- Load Recent Product in CMS Page and Product detail using AJAX.
5+
- Minor fix
6+
- Increase performance
7+
18
# 1.0.0 - First release
29
- Add `Recently Viewed Product Slider` block in Shopping Experiences > Commerce.
310
- Add `Recently Viewed Product Slider` element in Shopping Experiences.
@@ -6,8 +13,3 @@
613
- (Optional - Default: true) Show `Recently Viewed Product Slider` Default Element on bottom of product detail.
714
- `Recently Viewed Product Slider` Default Element can be modified in Plugin's config.
815
- The maximum number of items (Default - 10) shown on the element and their display order (Default - Latest) can be configured in the Plugin's config.
9-
10-
# 1.0.1 - Fix HTTP Caching
11-
- Load Recent Product in CMS Page and Product detail using AJAX.
12-
- Minor fix
13-
- Increase performance

src/Core/System/SalesChannel/Context/SalesChannelContextPersisterDecorated.php

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
use Doctrine\DBAL\Connection;
66
use Shopware\Core\System\SalesChannel\Context\SalesChannelContextPersister;
7+
use Symfony\Component\EventDispatcher\EventDispatcherInterface;
78

89
class SalesChannelContextPersisterDecorated extends SalesChannelContextPersister
910
{
@@ -19,12 +20,13 @@ class SalesChannelContextPersisterDecorated extends SalesChannelContextPersister
1920

2021
public function __construct(
2122
SalesChannelContextPersister $decorated,
22-
Connection $connection
23+
Connection $connection,
24+
EventDispatcherInterface $eventDispatcher
2325
) {
2426
$this->decorated = $decorated;
2527
$this->connection = $connection;
2628

27-
parent::__construct($connection);
29+
parent::__construct($connection, $eventDispatcher);
2830
}
2931

3032
public function replace(string $oldToken/*, ?SalesChannelContext $context = null*/): string

src/Resources/config/services.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@
5353
decoration-on-invalid="ignore">
5454
<argument type="service" id="RecentlyViewedProduct\Core\System\SalesChannel\Context\SalesChannelContextPersisterDecorated.inner"/>
5555
<argument type="service" id="Doctrine\DBAL\Connection"/>
56+
<argument type="service" id="event_dispatcher"/>
5657
</service>
5758

5859
</services>

0 commit comments

Comments
 (0)