예제 #1
0
파일: Checkout.php 프로젝트: kingsj/core
 /**
  * Clone profile and move profile to original profile
  *
  * @return void
  */
 protected function cloneProfile()
 {
     parent::cloneProfile();
     $this->getCart()->getProfile()->setCMSName('');
     $this->getCart()->getProfile()->setCMSProfileId(0);
 }
예제 #2
0
 /**
  * Set up ec_type flag to 'mark' value if payment method selected on checkout
  *
  * @return void
  */
 protected function doActionPayment()
 {
     \XLite\Core\Session::getInstance()->ec_type = Paypal\Model\Payment\Processor\ExpressCheckout::EC_TYPE_MARK;
     parent::doActionPayment();
 }
예제 #3
0
 /**
  * Update profile
  *
  * @return void
  */
 protected function doActionUpdateProfile()
 {
     parent::doActionUpdateProfile();
     $showSaveCardBox = $this->showSaveCardBox() ? 'Y' : 'N';
     $checkCheckoutAction = $this->checkCheckoutAction() ? 'Y' : 'N';
     \XLite\Core\Event::xpcEvent(array('showSaveCardBox' => $showSaveCardBox, 'checkCheckoutAction' => $checkCheckoutAction));
 }