public function getTemplatePath()
    {
        if ($templateData = $this->component->getData('_template')) {
            return $templateData;
        }

        return $this->variation->getConfiguration(
            'components',
            $this->component->getComponentType()->getName(),
            'path',
            $this->component->getComponentType()->getTemplatePath()
        );
    }