Exemple #1
0
 /**
  * Initialize quote objects
  */
 private function initializeQuote()
 {
     $this->quote = Mage::getModel('sales/quote');
     $this->quote->setCheckoutMethod($this->proxyOrder->getCheckoutMethod());
     $this->quote->setStore($this->proxyOrder->getStore());
     $this->quote->save();
 }
Exemple #2
0
 private function initializeQuote()
 {
     $this->quote = Mage::getModel('sales/quote');
     $this->quote->setCheckoutMethod($this->proxyOrder->getCheckoutMethod());
     $this->quote->setStore($this->proxyOrder->getStore());
     $this->quote->getStore()->setData('current_currency', $this->quote->getStore()->getBaseCurrency());
     $this->quote->save();
     Mage::getSingleton('checkout/session')->replaceQuote($this->quote);
 }