| 1 |
<?php |
| 2 |
/** |
| 3 |
* Flow |
| 4 |
* |
| 5 |
* @package CartFlows |
| 6 |
*/ |
| 7 |
|
| 8 |
?> |
| 9 |
<!DOCTYPE html> |
| 10 |
<html <?php language_attributes(); ?>> |
| 11 |
<head> |
| 12 |
<meta http-equiv="Content-Type" content="text/html; charset=<?php bloginfo( 'charset' ); ?>"> |
| 13 |
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no"> |
| 14 |
<meta name="robots" content="noindex"> |
| 15 |
<title><?php wp_title( '-', true, 'right' ); ?><?php bloginfo( 'name' ); ?></title> |
| 16 |
<link rel="profile" href="http://gmpg.org/xfn/11" /> |
| 17 |
|
| 18 |
<?php wp_head(); ?> |
| 19 |
</head> |
| 20 |
<body <?php body_class(); ?>> |
| 21 |
<div class="wrapper"> |
| 22 |
<header class="header"> |
| 23 |
</header> |
| 24 |
|
| 25 |
<div class="main-container"> |
| 26 |
<div class="checkout-forms"> |
| 27 |
<!-- CHECKOUT SHORTCODE --> |
| 28 |
<?php |
| 29 |
|
| 30 |
$checkout_html = do_shortcode( '[woocommerce_checkout]' ); |
| 31 |
|
| 32 |
if ( |
| 33 |
empty( $checkout_html ) || |
| 34 |
trim( $checkout_html ) == '<div class="woocommerce"></div>' |
| 35 |
) { |
| 36 |
echo __( 'Your cart is currently empty.', 'cartflows' ); |
| 37 |
} else { |
| 38 |
echo $checkout_html; |
| 39 |
} |
| 40 |
?> |
| 41 |
<!-- END CHECKOUT SHORTCODE --> |
| 42 |
</div> |
| 43 |
</div> |
| 44 |
|
| 45 |
<footer class="footer"> |
| 46 |
<p><?php _e( 'Copyright ©', 'cartflows' ); ?> <?php |
| 47 |
echo date( 'Y' ); |
| 48 |
echo ' ' . get_bloginfo( 'name' ); |
| 49 |
?> |
| 50 |
- <?php _e( 'All Rights Reserved', 'cartflows' ); ?></p> |
| 51 |
</footer> |
| 52 |
</div> |
| 53 |
|
| 54 |
<div class="wcf-hide"> |
| 55 |
<?php wp_footer(); ?> |
| 56 |
</div> |
| 57 |
</body> |
| 58 |
</html> |
| 59 |
|