Example #1
0
 protected function _prepareNewCustomerQuote()
 {
     parent::_prepareNewCustomerQuote();
     $quote = $this->getQuote();
     $quote->getCustomer()->setMobile($quote->getBillingAddress()->getTelephone());
     return $this;
 }
Example #2
0
 protected function _prepareNewCustomerQuote()
 {
     parent::_prepareNewCustomerQuote();
     $isSubscribed = Mage::app()->getRequest()->getParam('is_subscribed', false) || Mage::getSingleton('checkout/session')->getAmscheckoutIsSubscribed();
     if ($isSubscribed) {
         $quote = $this->getQuote();
         $customer = $quote->getCustomer();
         $customer->setIsSubscribed(1);
         Mage::getSingleton('checkout/session')->setAmscheckoutIsSubscribed(true);
     }
 }