optimize data retrieve by customfields und enricher
This commit is contained in:
@@ -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' => [
|
||||
[
|
||||
|
||||
Reference in New Issue
Block a user