| Server IP : 172.67.71.254 / Your IP : 216.73.216.4 Web Server : nginx/1.27.1 System : Linux in-5 5.15.0-143-generic #153-Ubuntu SMP Fri Jun 13 19:10:45 UTC 2025 x86_64 User : arabianexpress ( 1872) PHP Version : 8.0.30 Disable Function : exec,passthru,shell_exec,system,proc_open,popen,parse_ini_file,show_source MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /storage/v9321/aurointeriors/public_html/wp-content/themes/archub/templates/header/ |
Upload File : |
<?php
// check
if( !liquid_helper()->is_woocommerce_active() || is_admin() || !is_object( WC()->cart ) ) {
return;
}
$order_count = WC()->cart->get_cart_contents_count();
$is_empty = WC()->cart->is_empty();
$sub_total = WC()->cart->get_cart_subtotal();
$cart_id = uniqid( 'cart-' );
$cart_text = $atts['cart_text'];
?>
<div class="ld-module-cart ld-module-cart-dropdown d-flex align-items-center">
<?php ld_el_module_trigger_render($data_target = $cart_id, $pf2 = 'hmt_', $settings = $atts, $type = 'cart'); ?>
<div class="ld-module-dropdown collapse pos-abs" id="<?php echo esc_attr( $cart_id ) ?>" aria-expanded="false">
<div class="ld-cart-contents">
<div class="header-quickcart">
<?php liquid_woocommerce_header_cart() ?>
</div>
<?php if( !$is_empty && !empty( $cart_text ) ) { ?>
<div class="ld-cart-message">
<?php echo wp_kses( do_shortcode( $cart_text ), 'lqd_post' ); ?>
</div>
<?php } ?>
</div>
</div>
</div>