diff --git a/Model/Catalog/Layer/Url/Strategy/FilterSlugManager.php b/Model/Catalog/Layer/Url/Strategy/FilterSlugManager.php index 1037cf6e..22ed755f 100644 --- a/Model/Catalog/Layer/Url/Strategy/FilterSlugManager.php +++ b/Model/Catalog/Layer/Url/Strategy/FilterSlugManager.php @@ -129,7 +129,13 @@ public function createFilterSlugByAttributeOptions(array $options) $attributeSlugEntity = $this->attributeSlugFactory->create(); $attributeSlugEntity->setAttribute($option->getLabel()); - $attributeSlugEntity->setSlug($this->translitUrl->filter($option->getLabel())); + + $slug = $this->translitUrl->filter($option->getLabel()); + if (empty($slug)) { + $slug = urlencode($option->getLabel()); + } + + $attributeSlugEntity->setSlug($slug); $this->attributeSlugRepository->save($attributeSlugEntity); $this->cache->remove(self::CACHE_KEY);