diff --git a/Document/AbstractProductDocument.php b/Document/AbstractProductDocument.php index c26f386..370063f 100644 --- a/Document/AbstractProductDocument.php +++ b/Document/AbstractProductDocument.php @@ -14,6 +14,7 @@ use ONGR\ElasticsearchBundle\Annotation as ES; use ONGR\ElasticsearchBundle\Document\DocumentInterface; use ONGR\ElasticsearchBundle\Document\DocumentTrait; +use ONGR\RouterBundle\Document\SeoAwareTrait; /** * Product document with standard fields. @@ -23,6 +24,7 @@ abstract class AbstractProductDocument implements DocumentInterface { use DocumentTrait; + use SeoAwareTrait; /** * @var string