"> <?php if (!is_single() && yit_get_option('shop-products-title')) { ?> <h1 class="page-title"><?php woocommerce_page_title(); ?> </h1> <?php } ?> <?php do_action('shop_page_meta'); ?> <?php if (is_single() && yit_get_option('shop-show-back')) { ?> <div class="back-shop"> <a href="<?php echo get_permalink(yith_wc_get_page_id('shop')); ?> ">‹ <?php _e('Back to the shop', 'yit'); ?> </a> </div> <?php } ?> </div> <!-- END PAGE META -->
function yit_woocommerce_checkout_registration_redirect($location) { if (isset($_POST['register']) && $_POST['register'] && isset($_POST['yit_checkout']) && $location == get_permalink(yith_wc_get_page_id('myaccount'))) { $location = get_permalink(yith_wc_get_page_id('checkout')); } return $location; }
$slogan_class .= 'yith-checkout-single '; ob_start(); ?> <span <?php if (is_cart()) { ?> class="current"<?php } ?> ><?php _e('Shopping Cart', 'yit'); ?> </span> <span <?php if (is_page(yith_wc_get_page_id('checkout')) and !is_order_received_page() and !is_cart()) { ?> class="current"<?php } ?> ><?php _e('Checkout Details', 'yit'); ?> </span> <span <?php if (is_order_received_page()) { ?> class="current"<?php } ?> >