optimize data retrieve by customfields und enricher

This commit is contained in:
team 1
2026-04-13 16:11:19 +02:00
parent 0a05ccaee3
commit f7685c6fb5
10 changed files with 234 additions and 32 deletions

View File

@@ -28,7 +28,9 @@ final class ShopwareCriteriaBuilder
'calculatedPrice',
'seoUrls',
'manufacturer',
'translated.name'
'translated.name',
'cover',
'customFields'
],
'product_manufacturer' => [
'name',
@@ -43,10 +45,30 @@ final class ShopwareCriteriaBuilder
'seo_url' => [
'seoPathInfo',
],
'product_media' => [
'id',
'media'
],
'media' => [
'id',
'url',
'thumbnails',
'alt',
'title'
]
],
'associations' => [
'manufacturer' => new \stdClass(),
'seoUrls' => new \stdClass(),
'cover' => [
'associations' => [
'media' => [
'associations' => [
"thumbnails" => new \stdClass()
]
]
]
]
],
'sort' => [
[