public function getShopLogoUrl()
    {
        $imagePath = $this->getImageUrl();
        $resizedImagePath = $this->getResizedImageUrl();

        if ($this->getResize()) {
            $shopLogoPath = $resizedImagePath;

            if (!$this->fileExists($resizedImagePath)) {
                if (!$this->resizeImage()) {
                    // fallback to original image if can not be resized
                    $shopLogoPath = $imagePath;
                }
            }
        } else {
            $shopLogoPath = $imagePath;
        }

        return $shopLogoPath;
    }