/*
Theme Name:     Child Theme
Theme URI:      n/a
Template:       kadence
Author:         Pro Author
Author URI:     n/a
Description:    Child Theme Description
Version:        1.0
License:        GNU General Public License v3.0 (or later)
License URI:    https://www.gnu.org/licenses/gpl-3.0.html
*/
.justify{
	text-align: justify;
}


add_filter( 'woocommerce_get_item_data', function( $item_data, $cart_item ) { foreach ( $item_data as $key => $data ) { if ( isset( $data['key'] ) && strtolower( $data['key'] ) === 'wdr_free_product' ) { unset( $item_data[ $key ] ); } if ( isset( $data['key'] ) && strtolower( $data['key'] ) === 'discount' ) { $item_data[ $key ]['key'] = 'Offre'; } } return $item_data; }, 20, 2 );