Пример #1
0
 /**
  * Return customer quote items
  *
  * @return array
  */
 public function getItems()
 {
     if ($this->getCustomQuote()) {
         return $this->getCustomQuote()->getAllVisibleItems();
     }
     return parent::getItems();
 }
Пример #2
0
 /**
  * Return customer quote items
  *
  * @return array
  */
 public function getItems()
 {
     if ($this->getCustomItems()) {
         return $this->getCustomItems();
     }
     return parent::getItems();
 }