/** * Get CSS files * * @return array */ public function getCSSFiles() { $list = parent::getCSSFiles(); $method = \XLite\Core\Database::getRepo('XLite\\Model\\Payment\\Method')->findOneBy(array('service_name' => 'Velocity')); if ($method && $method->isEnabled()) { //Add CSS file for dynamic credit card widget $list = array_merge($list, $this->getWidget(array(), '\\XLite\\View\\CreditCard')->getCSSFiles()); } return $list; }
public function getCSSFiles() { $list = parent::getCSSFiles(); $list[] = 'modules/Heartland/Securesubmit/checkout.css'; return $list; }