// Nested structs
'manufacturer' =>
$this->
getManufacturerMapping($shop),
'priceGroup' =>
$this->
getPriceGroupMapping(),
'properties' =>
$this->
getPropertyMapping($shop),
'esd' =>
$this->
getEsdMapping(),
'tax' =>
$this->
getTaxMapping(),
'unit' =>
$this->
getUnitMapping(),
'attributes' =>
$this->
getAttributeMapping(),
'configuration' =>
$this->
getVariantOptionsMapping($shop),
'voteAverage' =>
$this->
getVoteAverageMapping(),
'manualSorting' =>
$this->
getManualMapping(),
],
];
if ($variantFacet) { $productMapping['properties'
]['filterConfiguration'
] =
$this->
getVariantOptionsMapping($shop);
$productMapping['properties'
]['listingVariationPrices'
] = self::DYNAMIC_MAPPING;
$productMapping['properties'
]['availability'
] = self::DYNAMIC_MAPPING;
$productMapping['properties'
]['visibility'
] = self::DYNAMIC_MAPPING;
}