MainWP Community

Hide Product Title of Variation in Cart Page in WooCommerce

Use this code snippet to hide the product title of a product variation in cart on WooCommerce on child sites.

Snippet Type

Execute on Child Sites

Snippet

add_filter( 'woocommerce_product_variation_title_include_attributes', '__return_false' );
2 Likes

What is the use case for this?

Before


After

1 Like

I see. Very nice. Thanks

1 Like