/** * Get the detailed description of the reason why the cart is disabled * * @return string */ protected function getDisabledReason() { $result = parent::getDisabledReason(); $cart = $this->getCart(); if ($cart->containsRestrictedProducts()) { $result = $this->getRestrictedErrorReason(); } return $result; }
/** * Get a list of CSS files required to display the widget properly * * @return array */ public function getCSSFiles() { $list = parent::getCSSFiles(); $list[] = 'modules/CDev/Coupons/cart.css'; return $list; }
/** * Get CSS files * * @return array */ public function getCSSFiles() { $list = parent::getCSSFiles(); $list[] = 'modules/XC/FreeShipping/label/style.css'; return $list; }
/** * Register CSS files * * @return array */ public function getCSSFiles() { $list = parent::getCSSFiles(); $list[] = 'modules/CDev/ProductOptions/product_details.css'; return $list; }