예제 #1
0
파일: Cart.php 프로젝트: kirkbauer2/kirkxc
 /**
  * If we can proceed with checkout with current cart
  *
  * @return boolean
  */
 public function checkCart()
 {
     $result = parent::checkCart();
     if (\XLite\Module\CDev\XPaymentsConnector\Core\XPaymentsClient::getInstance()->isModuleConfigured() && !$result) {
         \XLite\Module\CDev\XPaymentsConnector\Core\XPaymentsClient::getInstance()->clearInitDataFromSession();
     }
     return $result;
 }
예제 #2
0
파일: Cart.php 프로젝트: kirkbauer2/kirkxc
 /**
  * If we can proceed with checkout with current cart
  *
  * @return boolean
  */
 public function checkCart()
 {
     return parent::checkCart() && !$this->containsRestrictedProducts();
 }
예제 #3
0
 /**
  * {@inheritDoc}
  */
 public function checkCart()
 {
     $this->__initializer__ && $this->__initializer__->__invoke($this, 'checkCart', array());
     return parent::checkCart();
 }