예제 #1
0
파일: Quote.php 프로젝트: aiesh/magento2
 /**
  * Load quote data by identifier without store
  *
  * @param \Magento\Sales\Model\Quote $quote
  * @param int $quoteId
  * @return $this
  */
 public function loadByIdWithoutStore($quote, $quoteId)
 {
     $read = $this->_getReadAdapter();
     if ($read) {
         $select = parent::_getLoadSelect('entity_id', $quoteId, $quote);
         $data = $read->fetchRow($select);
         if ($data) {
             $quote->setData($data);
         }
     }
     $this->_afterLoad($quote);
     return $this;
 }