예제 #1
0
파일: Cart.php 프로젝트: kirkbauer2/kirkxc
 /**
  * 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
파일: Cart.php 프로젝트: kirkbauer2/kirkxc
 /**
  * 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;
 }