PluginProbe
WPFunnels – Funnel Builder for WooCommerce with Checkout & One Click Upsell / 2.8.16
WPFunnels – Funnel Builder for WooCommerce with Checkout & One Click Upsell v2.8.16
3.13.4 3.13.3 3.13.2 3.13.1 3.13.0 3.12.13 3.12.12 3.12.11 3.12.10 3.12.9 3.12.8 3.12.7 3.12.6 3.12.5 3.12.4 3.12.3 3.12.1 3.12.2 3.12.0 3.11.1 3.11.0 3.10.9 3.10.8 3.10.7 3.10.6 All 262 releases
wpfunnels / public / modules / checkout / templates / multi-step-checkout.php

multi-step-checkout.php in WPFunnels – Funnel Builder for WooCommerce with Checkout & One Click Upsell 2.8.16, at public/modules/checkout/templates/multi-step-checkout.php

88 lines 3.4 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 is an overridden copy of the woocommerce/templates/checkout/form-checkout.php file.
6 *
7 * @package
8 */
9
10 if ( ! defined( 'ABSPATH' ) ) {
11 exit;
12 }
13 ?>
14
15 <div class="rex-multistep-checkout">
16 <?php
17
18 // If checkout registration is disabled and not logged in, the user cannot checkout.
19 if ( ! $checkout->is_registration_enabled() && $checkout->is_registration_required() && ! is_user_logged_in() ) {
20 echo esc_html( apply_filters( 'woocommerce_checkout_must_be_logged_in_message', __( 'You must be logged in to checkout.', 'wpfnl' ) ) );
21 return;
22 }
23
24 ?>
25
26 <ul class="checkout-steps">
27 <li class="billing"><a href="#billing"><span class="step-number">1</span><span class="title"><?php esc_html_e( 'Billing Details', 'wpfnl' ); ?></span></a></li>
28 <li class="shipping"><a href="#shipping"><span class="step-number">2</span><span class="title"><?php esc_html_e( 'shipping', 'wpfnl' ); ?></span></a></li>
29 <li class="review"><a href="#review"><span class="step-number">3</span><span class="title"><?php esc_html_e( 'Your order', 'wpfnl' ); ?></span></a></li>
30 </ul>
31
32 <div class="woocommerce-checkout-coupon-form">
33 <?php do_action( 'rex__woocommerce_checkout_coupon_form' ); ?>
34 </div>
35
36 <form name="checkout" method="post" class="checkout woocommerce-checkout" action="<?php echo esc_url( wc_get_checkout_url() ); ?>" enctype="multipart/form-data">
37
38 <div class="multistep-wrapper" id="rex-checkout-tabs">
39 <div class="single-step" id="billing">
40 <?php
41 if ( $checkout->get_checkout_fields() ) {
42 do_action( 'woocommerce_checkout_before_customer_details' );
43 do_action( 'woocommerce_checkout_billing' );
44 }
45 ?>
46
47 <div class="navigation">
48 <button type="button" id="billingNext"><?php echo __( 'Next', 'wpfnl' ); ?></button>
49 </div>
50 </div>
51
52 <div class="single-step" id="shipping">
53 <?php
54 if ( $checkout->get_checkout_fields() ) {
55 do_action( 'woocommerce_checkout_shipping' );
56 do_action( 'woocommerce_checkout_after_customer_details' );
57 }
58 ?>
59
60 <div class="navigation">
61 <button type="button" id="shippingPrevious"><?php echo __( 'Previous', 'wpfnl' ); ?></button>
62 <button type="button" id="shippingNext"><?php echo __( 'Next', 'wpfnl' ); ?></button>
63 </div>
64 </div>
65
66 <div class="single-step" id="review">
67 <?php do_action( 'woocommerce_checkout_before_order_review' );
68 ?>
69
70 <div id="order_review" class="woocommerce-checkout-review-order">
71 <?php do_action( 'woocommerce_checkout_order_review' ); ?>
72 </div>
73 <?php do_action( 'woocommerce_checkout_after_order_review' );
74 ?>
75
76 <div class="navigation">
77 <button type="button" id="reviewPrevious"><?php echo __( 'Previous', 'wpfnl' ); ?></button>
78 </div>
79 </div>
80 </div>
81 <!--/multistep-wrapper-->
82
83 </form>
84
85 <?php do_action( 'woocommerce_after_checkout_form', $checkout ); ?>
86
87 </div>
88