From d60d43ed1dc2ef904afdf14f0acc02729be66859 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Toma=CC=81s=CC=8C=20Ludvik?= Date: Tue, 5 Mar 2024 15:52:56 +0100 Subject: [PATCH] articles are now searchable via Luigi's Box --- src/Model/FeedItem/LuigisBoxProductFeedItem.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Model/FeedItem/LuigisBoxProductFeedItem.php b/src/Model/FeedItem/LuigisBoxProductFeedItem.php index 871a0ab..198eb25 100644 --- a/src/Model/FeedItem/LuigisBoxProductFeedItem.php +++ b/src/Model/FeedItem/LuigisBoxProductFeedItem.php @@ -11,7 +11,7 @@ class LuigisBoxProductFeedItem implements FeedItemInterface { - public const UNIQUE_IDENTIFIER_PREFIX = 'product-'; + public const UNIQUE_IDENTIFIER_PREFIX = 'product'; protected const SMALL_IMAGE_SIZE = 100; protected const MEDIUM_IMAGE_SIZE = 200; protected const LARGE_IMAGE_SIZE = 600; @@ -80,7 +80,7 @@ public function getSeekId(): int */ public function getIdentity(): string { - return static::UNIQUE_IDENTIFIER_PREFIX . $this->id; + return static::UNIQUE_IDENTIFIER_PREFIX . '-' . $this->id; } /**