Support » Plugin: WooCommerce PDF Invoices & Packing Slips » Hide bundled products from invoice

  • Resolved Chantal Coolsma

    (@chantalc)


    Hi,

    For a customer we are developing a WooCommerce store with one product bundle. We have set all visibility to off for the bundled products (within the product bundle) in WooCommerce:

    https://1drv.ms/u/s!AkaBl-a0f6qYkDyykyTm_tv9J9UV

    However the bundled products are still shown on the PDF invoice. We only want the product bundle to be shown on the invoice rows.

    Is it possible to follow the WC settings and not show them? VAT (BTW) should be visible at the totals.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Ewout

    (@pomegranate)

    Hey Chantal,
    These settings are not necessarily relevant for the invoice, so we have opted to not alter the output directly. Instead, we add a class to the item row so that they can be hidden with CSS:

    
    .bundled-item.hidden { display: none; }
    

    Using custom styles

    But now that you mentioned it I actually agree that the default should perhaps be to hide and then let people that do not want to hide the bundled items reveal it, instead of the other way around…

    Thanks! 🙂

    Solved.

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.