예제 #1
0
 /**
  * Return customer quote items
  *
  * @return array
  */
 public function getItems()
 {
     if ($this->getCustomQuote()) {
         return $this->getCustomQuote()->getAllVisibleItems();
     }
     return parent::getItems();
 }
예제 #2
0
파일: Cart.php 프로젝트: aiesh/magento2
 /**
  * Return customer quote items
  *
  * @return array
  */
 public function getItems()
 {
     if ($this->getCustomItems()) {
         return $this->getCustomItems();
     }
     return parent::getItems();
 }