public function displayContent() { global $currency, $isBetaUser; parent::displayContent(); self::$smarty->assign(array('currencySign' => $currency->sign, 'currencyRate' => $currency->conversion_rate, 'currencyFormat' => $currency->format, 'currencyBlank' => $currency->blank)); switch ((int) $this->step) { case -1: if ($isBetaUser) { self::$smarty->display(_PS_THEME_DIR_ . 'beta/shopping-cart.tpl'); } else { self::$smarty->display(_PS_THEME_DIR_ . 'shopping-cart.tpl'); } break; case 1: $this->processAddressFormat(); self::$smarty->display(_PS_THEME_DIR_ . 'order-address.tpl'); break; case 2: self::$smarty->display(_PS_THEME_DIR_ . 'order-address-billing.tpl'); break; case 3: self::$smarty->display(_PS_THEME_DIR_ . 'order-payment.tpl'); break; default: if (Tools::getValue('summary') == 1) { self::$smarty->assign('summary_only', 1); self::$smarty->display(_PS_THEME_DIR_ . 'csrt-summary-large.tpl'); } else { if ($isBetaUser) { self::$smarty->display(_PS_THEME_DIR_ . 'beta/shopping-cart.tpl'); } else { self::$smarty->display(_PS_THEME_DIR_ . 'shopping-cart.tpl'); } } break; } }
public function displayContent() { global $currency; parent::displayContent(); self::$smarty->assign(array('currencySign' => $currency->sign, 'currencyRate' => $currency->conversion_rate, 'currencyFormat' => $currency->format, 'currencyBlank' => $currency->blank)); switch ((int) $this->step) { case -1: self::$smarty->display(_PS_THEME_DIR_ . 'shopping-cart.tpl'); break; case 1: $this->processAddressFormat(); self::$smarty->display(_PS_THEME_DIR_ . 'order-address.tpl'); break; case 2: self::$smarty->display(_PS_THEME_DIR_ . 'order-carrier.tpl'); break; case 3: self::$smarty->display(_PS_THEME_DIR_ . 'order-payment.tpl'); break; default: self::$smarty->display(_PS_THEME_DIR_ . 'shopping-cart.tpl'); break; } }
public function displayContent() { parent::displayContent(); $this->_processAddressFormat(); self::$smarty->display(_PS_THEME_DIR_ . 'order-opc.tpl'); }
public function displayContent() { parent::displayContent(); switch ((int) $this->step) { case -1: self::$smarty->display(_PS_THEME_DIR_ . 'shopping-cart.tpl'); break; case 1: $this->processAddressFormat(); self::$smarty->display(_PS_THEME_DIR_ . 'order-address.tpl'); break; case 2: self::$smarty->display(_PS_THEME_DIR_ . 'order-carrier.tpl'); break; case 3: self::$smarty->display(_PS_THEME_DIR_ . 'order-payment.tpl'); break; default: self::$smarty->display(_PS_THEME_DIR_ . 'shopping-cart.tpl'); break; } }