Avada Forums Community Forum Woocommerce – Cart: How to remove heading: "You Have X Items In Your Cart"? Reply To: Woocommerce – Cart: How to remove heading: "You Have X Items In Your Cart"?

mads sonne
Participant
Post count: 5

I have found out that in: \wp-content\themes\avada\includes\class-avada-woocommerce.php
– around line 1164 you’ll find:

/**
* Add markup before the cart table.
*
* @access public
* @since 5.1.0
* @param array $args Not really used here.
*/
public function before_cart_table( $args ) {
global $woocommerce;
?>
<div class=”woocommerce-content-box full-width clearfix”>
<?php /* translators: Number. */ ?>
<h2><?php printf( esc_attr( _n( ‘You Have %d Item In Your Cart’, ‘You Have %d Items In Your Cart’, $woocommerce->cart->get_cart_contents_count(), ‘Avada’ ) ), number_format_i18n( $woocommerce->cart->get_cart_contents_count() ) ); // WPCS: XSS ok. ?></h2>
<?php
}

This is the only place, where I can find the wording. But I don’t know which filter/function activates it or how to disable it.