Exemplo n.º 1
0
 /**
  * Payment step
  */
 protected function _assignPayment()
 {
     global $orderTotal;
     // Redirect instead of displaying payment modules if any module are grefted on
     Hook::exec('displayBeforePayment', array('module' => 'order.php?step=3'));
     /* We may need to display an order summary */
     $this->context->smarty->assign($this->context->cart->getSummaryDetails());
     $this->context->smarty->assign(array('total_price' => (double) $orderTotal, 'taxes_enabled' => (int) Configuration::get('PS_TAX')));
     $this->context->cart->checkedTOS = '1';
     parent::_assignPayment();
 }