• Resolved leonpress44

    (@leonpress44)


    What code do I need to add to my functions.php to hide a particular product category, i.e. product ID, from a displayed, printed or emailed packing slip in Woocommerce? The one post I found on here related to that does not work.

    • This topic was modified 1 year, 7 months ago by leonpress44.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter leonpress44

    (@leonpress44)

    No need to reply. I found out that PDF Invoices & Packing Slips for WooCommerce – Professional has a setting for Packing Slips that you can check to ‘Hide virtual and downloadable products’. I made the product I want to hide a virtual one, even though it is not, and activated the setting and it no longer appears. The reason I need this is that I used the Woocommerce Composite Products plugin and what is one product shows up as more than 1 because the variations of the product each show as another line item on the packing slip and my logistics warehouse requires only the 1 line item for the product to show up as all the variations are pre-packaged already with the product. One caveat: If you charge shipping on the product that you made virtual, even though it is shipped as a variation, you need to make the variation be the shipping class with the shipping charge as the virtual product will not show a shipping charge even though its shipping class has a charge associated with it.

    • This reply was modified 1 year, 7 months ago by leonpress44.
    • This reply was modified 1 year, 7 months ago by leonpress44.
    • This reply was modified 1 year, 7 months ago by leonpress44.
    • This reply was modified 1 year, 7 months ago by leonpress44.
    Plugin Contributor Yordan Soares

    (@yordansoares)

    Hi @leonpress44,

    Since you have the Professional extension, please contact us by [email protected], so we can continue helping you on this.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Hide Category From Packing Slip’ is closed to new replies.