PluginProbe
CartFlows – Funnel Builder & Checkout Plugin for WooCommerce / 3.1.2
CartFlows – Funnel Builder & Checkout Plugin for WooCommerce v3.1.2
3.3.0 3.2.1 3.2.0 3.1.4 3.1.3 3.1.2 3.1.1 3.1.0 3.0.1 trunk 1.0.4 1.1.0 1.1.0.1 1.1.1 1.1.10 1.1.11 1.1.12 1.1.13 1.1.14 1.1.15 1.1.16 1.1.17 1.1.18 1.1.19 1.1.2 All 162 releases
cartflows / modules / checkout / templates / wcf-template.php

wcf-template.php in CartFlows – Funnel Builder & Checkout Plugin for WooCommerce 3.1.2, at modules/checkout/templates/wcf-template.php

65 lines 1.6 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Flow
4 *
5 * @package CartFlows
6 */
7
8 // Exit if accessed directly.
9 if ( ! defined( 'ABSPATH' ) ) {
10 exit;
11 }
12 ?>
13 <!DOCTYPE html>
14 <html <?php language_attributes(); ?>>
15 <head>
16 <meta http-equiv="Content-Type" content="text/html; charset=<?php bloginfo( 'charset' ); ?>">
17 <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
18 <meta name="robots" content="noindex">
19 <title><?php wp_title( '-', true, 'right' ); ?><?php bloginfo( 'name' ); ?></title>
20 <link rel="profile" href="http://gmpg.org/xfn/11" />
21
22 <?php wp_head(); ?>
23 </head>
24 <body <?php body_class(); ?>>
25 <div class="wrapper">
26 <header class="header">
27 </header>
28
29 <div class="main-container">
30 <div class="checkout-forms">
31 <!-- CHECKOUT SHORTCODE -->
32 <?php
33
34 $checkout_html = do_shortcode( '[woocommerce_checkout]' );
35
36 if (
37 empty( $checkout_html ) ||
38 trim( $checkout_html ) == '<div class="woocommerce"></div>'
39 ) {
40 echo esc_html__( 'Your cart is currently empty.', 'cartflows' );
41 } else {
42 // Ignoring the escaping rule as we are echoing shortcode.
43 echo $checkout_html; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
44 }
45 ?>
46 <!-- END CHECKOUT SHORTCODE -->
47 </div>
48 </div>
49
50 <footer class="footer">
51 <p><?php esc_html_e( 'Copyright &copy;', 'cartflows' ); ?>
52 <?php
53 echo esc_html( gmdate( 'Y' ) );
54 echo ' ' . esc_html( get_bloginfo( 'name' ) );
55 ?>
56 - <?php esc_html_e( 'All Rights Reserved', 'cartflows' ); ?></p>
57 </footer>
58 </div>
59
60 <div class="wcf-hide">
61 <?php wp_footer(); ?>
62 </div>
63 </body>
64 </html>
65