public function search(Criteria
$criteria, Struct\ShopContextInterface
$context) { if (!
$criteria->
hasConditionOfClass(VariantCondition::
class)) { $criteria->
addCondition(new MainVariantCondition());
} return $this->productNumberSearch->
search($criteria,
$context);
}}