/**
* @throws RuntimeException
* @throws InvalidArgumentException
*/
public function joinPrices(QueryBuilder
$query, ShopContextInterface
$context, Criteria
$criteria) { if ($this->config->
get('hideNoInStock'
)) { $this->
joinListingPrices($query,
$context,
$criteria);
} else { $this->
joinSalePrices($query,
$context,
$criteria);
} } /**
* {@inheritdoc}
*/
public function joinVariants(QueryBuilder
$query) { if ($query->
hasState(self::VARIANTS_JOINED
)) { return;
}