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