Start a project

Hide Extra Product Options & Meta in WooCommerce PDF Invoice?

If you use “WooCommerce TM Extra Product Options” or a similar plugin, these options will also show up in the WooCommerce PDF invoice. This can make the invoice very long and unreadable.

So if you only need to indicate the name of the product on the invoice, you can solve it like this:

  1. Open Plugin Settings
  2. Go to Advanced Settings
  3. Add the custom CSS (see below)
  4. Save

Custom CSS to Add:

.wc-item-meta {
display: none;
}

Questions & answers (2)

  1. lecointeFebruary 13, 2023

    is it possible to display only the options activated by the customer?

  2. Hendrik LättiDecember 29, 2022

    Hei!

    This code works, but What if We wanted to retain the item on backorder info?
    As this info is also in the item meta table and so will be hidden too…

    Is there a negative statement to “display: none”, except if value is “on backorder” for example?