* @author 		WooThemes
 * @package 	WooCommerce/Templates
 * @version     2.3.0
 */
if (!defined('ABSPATH')) {
    exit;
}
$is_user_logged_in = is_user_logged_in();
$button_class = apply_filters('yith_wcms_step_button_class', 'button alt');
$labels = apply_filters('yith_wcms_timeline_labels', array('next' => __('Next', 'yith_wcms'), 'prev' => __('Previous', 'yith_wcms'), 'login' => _x('Login', 'Checkout: user timeline', 'yith_wcms'), 'billing' => _x('Billing', 'Checkout: user timeline', 'yith_wcms'), 'shipping' => _x('Shipping', 'Checkout: user timeline', 'yith_wcms'), 'order' => _x('Order Info', 'Checkout: user timeline', 'yith_wcms'), 'payment' => _x('Payment Info', 'Checkout: user timeline', 'yith_wcms')));
$display = apply_filters('yith_wcms_timeline_display', 'horizontal');
$timeline_args = array('labels' => $labels, 'is_user_logged_in' => $is_user_logged_in, 'display' => $display, 'style' => get_option('yith_wcms_timeline_template', 'text'));
$timeline_template = apply_filters('yith_wcms_timeline_template', 'checkout-timeline.php');
$enable_nav_button = 'yes' == get_option('yith_wcms_nav_buttons_enabled', 'yes') ? true : false;
//load timeline template
function_exists('yith_wcms_checkout_timeline') && yith_wcms_checkout_timeline($timeline_template, $timeline_args);
wc_print_notices();
do_action('woocommerce_before_checkout_form', $checkout);
?>

<div id="checkout-wrapper" class="timeline-<?php 
echo $display;
?>
">
    <div id="checkout_coupon" class="woocommerce_checkout_coupon">
        <?php 
do_action('yith_woocommerce_checkout_coupon', $checkout);
?>
    </div>

    <div id="checkout_login" class="woocommerce_checkout_login">
Example #2
0
 * @author 		WooThemes
 * @package 	WooCommerce/Templates
 * @version     2.3.0
 */
if (!defined('ABSPATH')) {
    exit;
}
$is_user_logged_in = is_user_logged_in();
$button_class = apply_filters('yith_wcms_step_button_class', 'button alt');
$labels = apply_filters('yith_wcms_timeline_labels', array('next' => __('Next', 'yith_wcms'), 'prev' => __('Previous', 'yith_wcms'), 'login' => _x('Login', 'Checkout: user timeline', 'yith_wcms'), 'billing' => _x('Billing', 'Checkout: user timeline', 'yith_wcms'), 'shipping' => _x('Shipping', 'Checkout: user timeline', 'yith_wcms'), 'order' => _x('Order Info', 'Checkout: user timeline', 'yith_wcms'), 'payment' => _x('Payment Info', 'Checkout: user timeline', 'yith_wcms')));
$display = apply_filters('yith_wcms_timeline_display', 'horizontal');
$timeline_args = array('labels' => $labels, 'is_user_logged_in' => $is_user_logged_in, 'display' => $display, 'style' => get_option('yith_wcms_timeline_template', 'text'));
$timeline_template = apply_filters('yith_wcms_timeline_template', 'checkout-timeline.php');
$enable_nav_button = 'yes' == get_option('yith_wcms_nav_buttons_enabled', 'yes') ? true : false;
//load timeline template
yith_wcms_checkout_timeline($timeline_template, $timeline_args);
wc_print_notices();
do_action('woocommerce_before_checkout_form', $checkout);
?>

<div id="checkout-wrapper" class="timeline-<?php 
echo $display;
?>
">
    <div id="checkout_coupon" class="woocommerce_checkout_coupon">
        <?php 
do_action('yith_woocommerce_checkout_coupon', $checkout);
?>
    </div>

    <div id="checkout_login" class="woocommerce_checkout_login">