PluginProbe
CartFlows – Funnel Builder & Checkout Plugin for WooCommerce / 3.2.1
CartFlows – Funnel Builder & Checkout Plugin for WooCommerce v3.2.1
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 / woocommerce / template / checkout / form-checkout.php

form-checkout.php in CartFlows – Funnel Builder & Checkout Plugin for WooCommerce 3.2.1, at woocommerce/template/checkout/form-checkout.php

73 lines 2.5 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Checkout Form
4 *
5 * This template can be overridden by copying it to yourtheme/woocommerce/checkout/form-checkout.php.
6 *
7 * HOWEVER, on occasion WooCommerce will need to update template files and you
8 * (the theme developer) will need to copy the new files to your theme to
9 * maintain compatibility. We try to do this as little as possible, but it does
10 * happen. When this occurs the version of the template file will be bumped and
11 * the readme will list any important changes.
12 *
13 * @see https://docs.woocommerce.com/document/template-structure/
14 * @package WooCommerce\Templates
15 * @version 3.5.0
16 */
17
18 if ( ! defined( 'ABSPATH' ) ) {
19 exit;
20 }
21
22 do_action( 'woocommerce_before_checkout_form', $checkout );
23
24 // If checkout registration is disabled and not logged in, the user cannot checkout.
25 if ( ! $checkout->is_registration_enabled() && $checkout->is_registration_required() && ! is_user_logged_in() ) {
26 echo esc_html( apply_filters( 'woocommerce_checkout_must_be_logged_in_message', __( 'You must be logged in to checkout.', 'woocommerce' ) ) );
27 return;
28 }
29
30 ?>
31
32 <form name="checkout" method="post" class="checkout woocommerce-checkout" action="<?php echo esc_url( wc_get_checkout_url() ); ?>" enctype="multipart/form-data">
33
34 <?php if ( $checkout->get_checkout_fields() ) : ?>
35
36 <?php do_action( 'cartflows_checkout_before_customer_details' ); ?>
37 <?php do_action( 'woocommerce_checkout_before_customer_details' ); ?>
38
39 <div class="wcf-col2-set col2-set" id="customer_details">
40 <div class="wcf-col-1 col-1">
41 <?php do_action( 'woocommerce_checkout_billing' ); ?>
42 </div>
43
44 <div class="wcf-col-2 col-2">
45 <?php do_action( 'woocommerce_checkout_shipping' ); ?>
46 </div>
47 </div>
48
49 <?php do_action( 'woocommerce_checkout_after_customer_details' ); ?>
50
51 <?php endif; ?>
52
53 <div class='wcf-order-wrap'>
54
55 <?php do_action( 'cartflows_woocommerce_checkout_before_order_heading' ); ?>
56
57 <?php do_action( 'woocommerce_checkout_before_order_review_heading' ); ?>
58
59 <h3 id="order_review_heading"><?php echo wp_kses_post( apply_filters( 'cartflows_woo_your_order_text', esc_html__( 'Your order', 'woocommerce' ) ) ); ?></h3>
60
61 <?php do_action( 'woocommerce_checkout_before_order_review' ); ?>
62
63 <div id="order_review" class="woocommerce-checkout-review-order">
64 <?php do_action( 'woocommerce_checkout_order_review' ); ?>
65 </div>
66
67 <?php do_action( 'woocommerce_checkout_after_order_review' ); ?>
68
69 </div>
70 </form>
71
72 <?php do_action( 'woocommerce_after_checkout_form', $checkout ); ?>
73