function getRequestPathForDefinition($vehicle) { $path = parent::getData('url_path'); if (!$vehicle || !$this->getData('product_id')) { return $this->getRequestPath(); } $schema = new Elite_Vaf_Model_Schema(); $path = 'fit/' . $this->vehicleSlug($vehicle) . '/' . $path; return $path; }
function getRequestPathForDefinition(VF_Vehicle $vehicle) { $path = parent::getData('url_path'); if (!$vehicle || !$this->getData('product_id')) { return $this->getRequestPath(); } $path = 'fit/' . $this->vehicleSlug($vehicle) . '/' . $path; return $path; }