HEX
Server: Apache
System: Linux webd006.cluster128.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64
User: zwafgyp (177615)
PHP: 7.4.33
Disabled: _dyuweyrj4,_dyuweyrj4r,dl
Upload Files
File: /home/z/w/a/zwafgyp/locationdebateau/wp-content/themes/my-listing/partials/header-cart.php
<?php
/**
 * Template for displaying a cart icon and
 * contents count in site header.
 *
 * @since 1.7.1
 */

if ( ! defined( 'ABSPATH' ) ) {
	exit;
}

if ( ! class_exists( 'WC_Widget_Cart' ) ) {
	return false;
}

$cart_count = WC()->cart->get_cart_contents_count();
?>

<a class="view-cart-contents" href="#" type="button" id="user-cart-menu" data-toggle="modal" data-target="#wc-cart-modal" title="<?php esc_attr_e( 'View your shopping cart', 'my-listing' ); ?>">
	<span class="mi shopping_basket"></span>
	<i class="header-cart-counter <?php echo $cart_count < 1 ? 'counter-hidden' : '' ?>" data-count="<?php echo esc_attr( $cart_count ) ?>">
		<span><?php echo number_format_i18n( $cart_count ) ?></span>
	</i>
</a>