private function getProductImage()
    {
        $image = $this->getDocumentSource('image');
        if ($image) {
            $this->product->setSmallImage($image);
        }

        $this->imageHelper->init($this->product, 'smile_elasticsuiteoptimizer_preview');

        return $this->imageHelper->getUrl();
    }
private function getProductImage()
    {
        $image = $this->getDocumentSource('image');
        if ($image) {
            $this->product->setSmallImage($image);
        }

        $this->imageHelper->init($this->product, 'smile_elasticsuiteoptimizer_preview');

        return $this->imageHelper->getUrl();
    }
private function getProductImage ( ) { $ image = $ this -> getDocumentSource ( 'image' ) ; if ( $ image ) { $ this -> product -> setSmallImage ( $ image ) ; } $ this -> imageHelper -> init ( $ this -> product , 'smile_elasticsuiteoptimizer_preview' ) ; return $ this -> imageHelper -> getUrl ( ) ; }
Retrieve product small image

@return string
Retrieve product small image