private function addRedirectMessage(ProductInterface $product) { $message = __("%1 is the only product matching your '%2' research.", $product->getName(), $this->helper->getEscapedQueryText()); $this->messageManager->addSuccessMessage($message); }