Skip to content

Commit

Permalink
6.3.2 Compatible
Browse files Browse the repository at this point in the history
  • Loading branch information
vienthuong committed Sep 24, 2020
1 parent 7516cc3 commit b67a19b
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 11 deletions.
11 changes: 7 additions & 4 deletions CHANGELOG_de-DE.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
# 1.0.2 - SW 6.3.2 Compatible

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

# 1.0.0 - Erste Veröffentlichung
- Fügen Sie in den Einkaufserlebnissen den Block "Zuletzt angesehener Produktschieber" hinzu.
- Fügen Sie in den Einkaufserlebnissen das Element "Zuletzt angesehener Produktschieber" hinzu.
Expand All @@ -7,7 +14,3 @@
- Das Standardelement "Zuletzt angesehener Produktschieber" kann in der Plugin-Konfiguration geändert werden.
- Die maximale Anzahl der auf dem Element angezeigten Elemente und ihre Anzeigereihenfolge können in der Konfiguration des Plugins konfiguriert werden.

# 1.0.1 - Fix HTTP Caching
- Laden Sie mit AJAX das neueste Produkt in die CMS-Seite und die Produktdetails.
- Kleinere Korrektur
- Leistung verbessern
12 changes: 7 additions & 5 deletions CHANGELOG_en-GB.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
# 1.0.2 - SW 6.3.2 Compatible

# 1.0.1 - Fix HTTP Caching
- Load Recent Product in CMS Page and Product detail using AJAX.
- Minor fix
- Increase performance

# 1.0.0 - First release
- Add `Recently Viewed Product Slider` block in Shopping Experiences > Commerce.
- Add `Recently Viewed Product Slider` element in Shopping Experiences.
Expand All @@ -6,8 +13,3 @@
- (Optional - Default: true) Show `Recently Viewed Product Slider` Default Element on bottom of product detail.
- `Recently Viewed Product Slider` Default Element can be modified in Plugin's config.
- 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.

# 1.0.1 - Fix HTTP Caching
- Load Recent Product in CMS Page and Product detail using AJAX.
- Minor fix
- Increase performance
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

use Doctrine\DBAL\Connection;
use Shopware\Core\System\SalesChannel\Context\SalesChannelContextPersister;
use Symfony\Component\EventDispatcher\EventDispatcherInterface;

class SalesChannelContextPersisterDecorated extends SalesChannelContextPersister
{
Expand All @@ -19,12 +20,13 @@ class SalesChannelContextPersisterDecorated extends SalesChannelContextPersister

public function __construct(
SalesChannelContextPersister $decorated,
Connection $connection
Connection $connection,
EventDispatcherInterface $eventDispatcher
) {
$this->decorated = $decorated;
$this->connection = $connection;

parent::__construct($connection);
parent::__construct($connection, $eventDispatcher);
}

public function replace(string $oldToken/*, ?SalesChannelContext $context = null*/): string
Expand Down
1 change: 1 addition & 0 deletions src/Resources/config/services.xml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@
decoration-on-invalid="ignore">
<argument type="service" id="RecentlyViewedProduct\Core\System\SalesChannel\Context\SalesChannelContextPersisterDecorated.inner"/>
<argument type="service" id="Doctrine\DBAL\Connection"/>
<argument type="service" id="event_dispatcher"/>
</service>

</services>
Expand Down

0 comments on commit b67a19b

Please sign in to comment.