php help wordpress

Hello Community,
i have some problems with my Wordpress site. Here you can see the “header-cart-amount” class:
My problem is now, i don’t want to see how many items i got. I want to have a text behind it instead of how
many items i have in my header-cart.

Now the functions looks like this:
[php]

<?php echo sprintf( _n( '%d item', '%d items', $woocommerce->cart->cart_contents_count, 'avant' ), $woocommerce->cart->cart_contents_count ); ?> - <?php echo $woocommerce->cart->get_cart_total(); ?> span class="header-cart-checkout <?php echo ( $woocommerce->cart->cart_contents_count > 0 ) ? sanitize_html_class( 'cart-has-items' ) : ''; ?>">
[/php]

I have tried to delete the “header-cart-amount” & “header-cart-checkout” class, but it didn’t do anything.
You can see what i mean on the picture: https://i.imgur.com/fYZBJ7K.png
Hopefully you can help me.

King Regards,
Yiv

Sponsor our Newsletter | Privacy Policy | Terms of Service