PluginProbe
SellKit – Funnel builder and checkout optimizer for WooCommerce to sell more, faster / 1.7.4
SellKit – Funnel builder and checkout optimizer for WooCommerce to sell more, faster v1.7.4
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.7.4, at includes/elementor/modules/checkout/templates/form-checkout.php

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