Untitled

mail@pastecode.io avatar
unknown
php
2 years ago
626 B
2
Indexable
Never
<?php if( WC()->cart->deposit_info[deposit_enabled] ): ?>

<div class="xoo-wsc-ft-amt">
    <span class="xoo-wsc-ft-amt-label"><?php echo esc_html($to_pay_text); ?></span>
    <span class="xoo-wsc-ft-amt-value"><?php echo wp_kses_post( wc_price(WC()->cart->deposit_info['deposit_amount']) ); ?></span>
</div>
<div class="xoo-wsc-ft-amt">
    <span class="xoo-wsc-ft-amt-label"><?php echo esc_html($future_payment_text); ?></span>
    <span class="xoo-wsc-ft-amt-value"><?php echo wp_kses_post( wc_price(WC()->cart->get_total('edit') - WC()->cart->deposit_info['deposit_amount']) ); ?></span>
</div>

<?php endif; ?>