/** * Returns purchase license URL * * @return string */ protected function getPurchaseLicenseURL() { return \XLite\Core\Marketplace::getPurchaseURL(); }
/** * Get JS code * * @return string */ protected function getJSCode() { return 'onclick="javascript:self.location=\'' . \XLite\Core\Marketplace::getPurchaseURL($this->getParam(static::PARAM_MODULE)->getXbProductId()) . '\'"'; }