示例#1
0
 /**
  * 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;
 }
示例#2
0
文件: Cart.php 项目: kewaunited/xcart
 /**
  * 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;
 }
示例#3
0
 /**
  * Get CSS files
  *
  * @return array
  */
 public function getCSSFiles()
 {
     $list = parent::getCSSFiles();
     $list[] = 'modules/XC/FreeShipping/label/style.css';
     return $list;
 }
示例#4
0
文件: Cart.php 项目: kingsj/core
 /**
  * Register CSS files
  *
  * @return array
  */
 public function getCSSFiles()
 {
     $list = parent::getCSSFiles();
     $list[] = 'modules/CDev/ProductOptions/product_details.css';
     return $list;
 }