joinSalePrices example



    /** * @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;
        }

        
Home | Imprint | This part of the site doesn't use cookies.