PluginProbe
CartFlows – Funnel Builder & Checkout Plugin for WooCommerce / 1.1.0
CartFlows – Funnel Builder & Checkout Plugin for WooCommerce v1.1.0
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 / embed / checkout-template-simple.php

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

31 lines 898 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Checkout template
4 *
5 * @package CartFlows
6 */
7
8 $checkout_layout = wcf()->options->get_checkout_meta_value( $checkout_id, 'wcf-checkout-layout' );
9 $fields_skins = wcf()->options->get_checkout_meta_value( $checkout_id, 'wcf-fields-skins' );
10 ?>
11 <div id="wcf-embed-checkout-form" class="wcf-embed-checkout-form wcf-embed-checkout-form-<?php echo $checkout_layout; ?> wcf-field-<?php echo $fields_skins; ?>">
12 <!-- CHECKOUT SHORTCODE -->
13 <?php do_action( 'cartflows_add_before_main_section', $checkout_layout ); ?>
14
15 <?php
16 $checkout_html = do_shortcode( '[woocommerce_checkout]' );
17
18 if (
19 empty( $checkout_html ) ||
20 trim( $checkout_html ) == '<div class="woocommerce"></div>'
21 ) {
22 echo __( 'Your cart is currently empty.', 'cartflows' );
23 } else {
24 echo $checkout_html;
25 }
26 ?>
27
28 <?php do_action( 'cartflows_add_after_main_section', $arg = '' ); ?>
29 <!-- END CHECKOUT SHORTCODE -->
30 </div>
31