PluginProbe ʕ •ᴥ•ʔ
ShopEngine Elementor WooCommerce Builder Addon – All in One WooCommerce Solution / 3.1.0
ShopEngine Elementor WooCommerce Builder Addon – All in One WooCommerce Solution v3.1.0
4.9.2 4.9.1 4.9.0 2.0.0 2.1.0 2.2.0 2.2.1 2.2.2 2.3.0 2.4.0 2.5.0 2.5.1 3.0.0 3.1.0 3.1.1 4.0.0 4.0.1 4.1.0 4.1.1 4.2.0 4.2.1 4.3.0 4.3.1 4.4.0 4.5.0 4.5.1 4.6.0 4.6.1 4.6.2 4.6.3 4.6.4 4.6.5 4.6.6 4.6.7 4.6.8 4.6.9 4.7.0 4.7.1 4.7.2 4.7.3 4.7.4 4.7.5 4.7.6 4.7.7 4.7.8 4.7.9 4.8.0 4.8.1 4.8.2 4.8.3 4.8.4 4.8.5 4.8.6 4.8.7 4.8.8 4.8.9 trunk 0.1.2-beta 0.1.3-beta 0.1.4-beta 1.0.0 1.1.0 1.1.1 1.1.2 1.1.3 1.2.0 1.2.1 1.3.0 1.3.1 1.3.2 1.3.3 1.3.4 1.4.0 1.4.1 1.5.0 1.5.1 1.6.0 1.6.1 1.7.0 1.8.0 1.8.1 1.9.0
shopengine / core / page-templates / screens / content-checkout.php
shopengine / core / page-templates / screens Last commit date
content-archive.php 3 years ago content-cart.php 3 years ago content-checkout-without-account.php 3 years ago content-checkout.php 3 years ago content-shop.php 3 years ago content-single-product.php 3 years ago gutenberg-default.php 3 years ago gutenberg-shopengine_canvas_tpl.php 3 years ago gutenberg-shopengine_full_width_tpl.php 3 years ago
content-checkout.php
92 lines
1 <?php
2
3 use ShopEngine\Core\Register\Module_List;
4
5 defined('ABSPATH') || exit; ?>
6
7 <div class="shopengine-quick-checkout-content-warper">
8 <div class="woocommerce shopengine-woocommerce-checkout">
9
10 <?php if($this->get_page_type_option_slug() == 'quick_checkout'): ?>
11 <style>
12 #wpadminbar {
13 display: none!important;
14 }
15 html{
16 margin: 0!important;
17 }
18 </style>
19 <?php endif; ?>
20
21 <?php
22
23 $checkout = WC()->checkout();
24
25 global $wp;
26
27 while(have_posts()) : the_post();
28
29 do_action('woocommerce_before_checkout_form', $checkout);
30
31 $skip_content = false;
32
33 /**
34 * check multistep module active or not
35 * if active then check multistep checkout enabled or not in section
36 */
37 $is_multistep_checkout_active = Module_List::instance()->is_widget_active('multistep-checkout');
38
39 $multistep_status = false;
40 if($is_multistep_checkout_active){
41 $checkout_sections = json_decode(get_post_meta($this->prod_tpl_id,'_elementor_data', true), true);
42 if(is_array($checkout_sections)) {
43 foreach ($checkout_sections as $key => $checkout_section){
44 $multistep = $checkout_section['settings']['shopengine_multistep_checkout_enable'] ?? '';
45 if($multistep == 'enabled'){
46 $multistep_status = true;
47 }
48 }
49 }
50 }
51
52 $login_reminder = get_option( 'woocommerce_enable_checkout_login_reminder' );
53
54 if ( isset( $wp->query_vars['order-pay'] ) ) : ?>
55 <div class="shopengine-order-pay-container">
56 <?php
57
58 if(\ShopEngine\Core\Builders\Action::is_edit_with_gutenberg($this->prod_tpl_id)) {
59 shopengine_content_render( do_blocks( get_the_content(null, false, $this->prod_tpl_id) ) );
60 } else {
61 \ShopEngine\Core\Page_Templates\Hooks\Base_Content::instance()->load_content_designed_from_builder();
62 }
63
64 ?>
65 </div>
66 <?php else: ?>
67 <form name="checkout"
68 method="post"
69 class="checkout woocommerce-checkout shopengine-woocommerce-checkout-form"
70 action="<?php echo esc_url( wc_get_checkout_url() ); ?>"
71 enctype="multipart/form-data">
72 <?php do_action( 'woocommerce_checkout_before_customer_details' ); ?>
73
74 <?php
75
76 if(\ShopEngine\Core\Builders\Action::is_edit_with_gutenberg($this->prod_tpl_id)) {
77 shopengine_content_render( do_blocks( get_the_content(null, false, $this->prod_tpl_id) ) );
78 } else {
79 \ShopEngine\Core\Page_Templates\Hooks\Base_Content::instance()->load_content_designed_from_builder();
80 }
81 ?>
82 <?php do_action( 'woocommerce_checkout_after_customer_details' ); ?>
83
84 </form>
85 <?php endif;
86
87 endwhile;
88 ?>
89 <?php do_action( 'woocommerce_after_checkout_form',$checkout) ?>
90 </div>
91 </div>
92