continue;
} if ($feature['type'
] === ProductFeatureSetDefinition::TYPE_PRODUCT_CUSTOM_FIELD
) { $features[] =
$this->
getCustomField($feature['name'
],
$data,
$product);
continue;
} if ($feature['type'
] === ProductFeatureSetDefinition::TYPE_PRODUCT_REFERENCE_PRICE
) { $features[] =
$this->
getReferencePrice($lineItem,
$product);
} } return array_filter($features);
} private function loadCustomFields(iterable
$lineItems, CartDataCollection
$data, SalesChannelContext
$context): void
{ $required =
[];
/** @var LineItem $lineItem */