addSearchCondition example

$this->searchTermPreProcessor = $searchTermPreProcessor;
    }

    public function handleRequest(Request $request, Criteria $criteria, ShopContextInterface $context)
    {
        $this->addLimit($request$criteria);
        $this->addOffset($request$criteria);

        $this->addCategoryCondition($request$criteria);
        $this->addIsAvailableCondition($criteria);
        $this->addCustomerGroupCondition($criteria$context);
        $this->addSearchCondition($request$criteria);

        $this->addManufacturerCondition($request$criteria);
        $this->addShippingFreeCondition($request$criteria);
        $this->addImmediateDeliveryCondition($request$criteria);
        $this->addRatingCondition($request$criteria);
        $this->addPriceCondition($request$criteria);

        $this->addWeightCondition($request$criteria);
        $this->addHeightCondition($request$criteria);
        $this->addWidthCondition($request$criteria);
        $this->addLengthCondition($request$criteria);
    }
Home | Imprint | This part of the site doesn't use cookies.