PluginProbe
SellKit – Funnel builder and checkout optimizer for WooCommerce to sell more, faster / 1.3.1
SellKit – Funnel builder and checkout optimizer for WooCommerce to sell more, faster v1.3.1
2.7.0 2.6.0 trunk 1.1.0 1.1.4 1.2.1 1.2.2 1.2.3 1.2.5 1.2.9 1.3.1 1.3.2 1.5.0 1.5.1 1.5.4 1.5.7 1.5.8 1.5.9 1.6.2 1.6.5 1.6.8 1.7.2 1.7.4 1.7.5 1.7.9 All 43 releases
sellkit / includes / elementor / modules / checkout / templates / form-checkout.php

form-checkout.php in SellKit – Funnel builder and checkout optimizer for WooCommerce to sell more, faster 1.3.1, at includes/elementor/modules/checkout/templates/form-checkout.php

111 lines 3.7 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 do_action( 'sellkit_checkout_one_page_express_methods' );
24
25 // If checkout registration is disabled and not logged in, the user cannot checkout.
26 if ( ! $checkout->is_registration_enabled() && $checkout->is_registration_required() && ! is_user_logged_in() ) {
27 echo esc_html( apply_filters( 'woocommerce_checkout_must_be_logged_in_message', __( 'You must be logged in to checkout.', 'woocommerce' ) ) );
28 return;
29 }
30
31 ?>
32
33 <form name="checkout" method="post" class="checkout woocommerce-checkout" action="<?php echo esc_url( wc_get_checkout_url() ); ?>" enctype="multipart/form-data">
34 <?php do_action( 'sellkit-checkout-widget-breadcrumb-desktop' ); ?>
35 <?php
36 /* multi step - step 1 */
37 do_action( 'sellkit-checkout-step-a-begins' );
38 ?>
39 <section class="sellkit-one-page-checkout-login">
40 <?php wc_get_template( 'checkout/form-login.php' ); ?>
41
42 <?php if ( $checkout->get_checkout_fields() ) : ?>
43
44 <?php do_action( 'woocommerce_checkout_before_customer_details' ); ?>
45
46 <div id="customer_details">
47 <?php do_action( 'woocommerce_checkout_shipping' ); ?>
48 </div>
49 <?php endif; ?>
50 </section>
51
52 <?php do_action( 'sellkit-checkout-step-a-ends' ); ?>
53
54 <?php /* Multi step - step 2 */ ?>
55 <?php do_action( 'sellkit-checkout-step-b-begins' ); ?>
56
57 <section class="sellkit-one-page-shipping-methods">
58 <?php if ( WC()->cart->needs_shipping() && WC()->cart->show_shipping() ) : ?>
59
60 <?php do_action( 'woocommerce_review_order_before_shipping' ); ?>
61
62 <?php wc_cart_totals_shipping_html(); ?>
63
64 <?php do_action( 'woocommerce_review_order_after_shipping' ); ?>
65
66 <?php endif; ?>
67 </section>
68
69 <?php do_action( 'woocommerce_checkout_after_customer_details' ); ?>
70
71 <?php do_action( 'sellkit-checkout-step-b-ends' ); ?>
72
73 <?php /* multi step - step 3 */ ?>
74 <?php do_action( 'sellkit-checkout-step-c-begins' ); ?>
75
76 <?php do_action( 'woocommerce_checkout_billing' ); ?>
77 <?php
78 $order_button_text = apply_filters( 'sellkit-checkout-place-order-btn-text', __( 'Place Order', 'woocommerce' ) );
79 require __DIR__ . '/payment-continue.php';
80 ?>
81 <?php do_action( 'sellkit-checkout-step-c-ends' ); ?>
82
83 <?php /** Multi-step sidebar */ ?>
84 <?php do_action( 'sellkit-checkout-multistep-sidebar-begins' ); ?>
85
86 <?php do_action( 'woocommerce_checkout_before_order_review_heading' ); ?>
87
88 <?php do_action( 'woocommerce_checkout_before_order_review' ); ?>
89
90 <div id="order_review" class="woocommerce-checkout-review-order">
91 <?php do_action( 'sellkit-checkout-before-order-summary' ); ?>
92
93 <?php do_action( 'sellkit-bundled-products-position' ); ?>
94
95 <div id="sellkit-checkout-widget-order-review-wrap" >
96 <h4 class="sellkit-checkout-order-review-heading header heading">
97 <?php esc_html_e( 'Your order', 'woocommerce' ); ?>
98 </h4>
99 <?php do_action( 'woocommerce_checkout_order_review' ); ?>
100 </div>
101 </div>
102
103 <?php do_action( 'woocommerce_checkout_after_order_review' ); ?>
104
105 <?php do_action( 'sellkit-checkout-multistep-sidebar-ends' ); ?>
106
107 <?php do_action( 'sellkit_checkout_required_hidden_fields' ); ?>
108 </form>
109
110 <?php do_action( 'woocommerce_after_checkout_form', $checkout ); ?>
111