/var/www/html_us/wp-content/plugins/checkout-for-woocommerce/templates/copify/content.php


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
<?php
if ( ! defined'ABSPATH' ) ) {
    exit; 
// Exit if accessed directly
}

/**
 * Fires before <main> container
 *
 * @since 3.0.0
 *
 * @param WC_Checkout $checkout The checkout object
 */
do_action'cfw_checkout_before_main_container'WC()->checkout() ); ?>
<main id="cfw" class="<?php echo cfw_main_container_classes(); ?>">
    <div class="row">
        <div class="col-lg-7 cfw-rp">
            <?php
            
/**
             * Fires at the beginning of the <main> container
             *
             * @since 3.0.0
             */
            
do_action'cfw_checkout_main_container_start' );
            
?>
        </div>
    </div>

    <?php
    
/**
     * Filters whether to use the standard CheckoutWC form or allow it to be overridden
     *
     * @since 2.0.0
     *
     * @param bool $replace Whether to replace the form or use the standard one
     */
    
if ( ! apply_filters'cfw_replace_form'false ) ) :
        
?>
        <form <?php cfw_form_attributes(); ?>>
            <!-- Order Review -->
            <?php
            
/**
             * Fires before the #order_review container inside the checkout form
             *
             * @since 3.0.0
             */
            
do_action'cfw_checkout_before_order_review_container' );
            
?>

            <div id="order_review" class="col-lg-7 cfw-rp" role="main">
                <?php
                
/**
                 * Fires at the top of the #order_review container
                 *
                 * @since 3.0.0
                 */
                
do_action'cfw_checkout_before_order_review' );
                
?>

                <?php
                
/**
                 * Fires in the #order_review container
                 *
                 * @since 3.0.0
                 */
                
do_action'cfw_checkout_tabs' );
                
?>

                <?php
                
/**
                 * Fires at the bottom of the #order_review container
                 *
                 * @since 3.0.0
                 */
                
do_action'cfw_checkout_after_order_review' );
                
?>
            </div>

            <?php
            
/**
             * Fires after the #order_review container inside the checkout form
             *
             * @since 3.0.0
             */
            
do_action'cfw_checkout_after_order_review_container' );
            
?>

            <!-- Cart Summary -->
            <div id="cfw-cart-summary" class="col-lg-5" role="complementary">
                <?php
                
/**
                 * Fires inside the cart summary sidebar container
                 *
                 * @since 3.0.0
                 */
                
do_action'cfw_checkout_cart_summary' );
                
?>
            </div>

            <?php
            
/**
             * Fires after inside the cart summary sidebar container
             *
             * @since 3.0.0
             */
            
do_action'cfw_checkout_after_cart_summary_container' );
            
?>
        </form>
    <?php else : ?>
        <?php
        
/**
         * Fires to allow standard CheckoutWC form to be replaced.
         *
         * Only fires when cfw_replace_form is true
         *
         * @since 3.0.0
         */
        
do_action'cfw_checkout_form' );
        
?>
    <?php endif; ?>

    <div class="row">
        <div class="col-lg-7">
            <?php
            
/**
             * Fires at the bottom of <main> container
             *
             * @since 3.0.0
             * @param WC_Checkout $checkout The checkout object
             */
            
do_action'cfw_checkout_main_container_end'WC()->checkout() );
            
?>
        </div>
    </div>
</main>
<?php
/**
 * Fires after the <main> container
 *
 * @since 3.0.0
 *
 * @param WC_Checkout $checkout The checkout object
 */
do_action'cfw_checkout_after_main_container'WC()->checkout() );