remove product variation size |

i want to remove size variation and weight in WooCommerce PDF Packing Slips. i managed to remove weight on the invoice by using these

add_action( 'wpo_wcpdf_custom_styles', 'wpo_wcpdf_custom_styles', 10, 2 );
function wpo_wcpdf_custom_styles ( $document_type, $document ) {
    .product > .meta > .weight {
		display: none;

this line only remove weight. how to remove size variation too?

  • This topic was modified 6 hours, 26 minutes ago by zhasifi.

The page I need help with: [log in to see the link]


This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer