7 thoughts on “Making your first product tab with table from CSV

  1. I’m sure you figured this out already but in case you haven’t, you can use the category format below to display it. (must use hyphen in front and can use the slug or ID.

    !is_product_category:nike-shoes

    1. That code did not work in WooCommerce prior to version 4.0. Not sure does it work in the new version, as it’s not tested. I’ll instruct our support to re-test that. Why it didn’t work? When registering a tab, using the actions and hooks provided by WooCommerce, that conditional function isn’t available. It could be true that they’ve fixed that behaviour. If so, our plugin is ready and can support it.

  2. somehow it is not working: !is_singular:mix-en-match
    and how do i exclude more then 1 page?
    ?like: !is_singular:mix-en-match,product-giftcard

    1. Hi, you can even make your own function in functions.php child theme file or similar, that will return either true or false, and just use that. Still, some conditionals will work when the action for registering tabs is fired, and some won’t, so you’ll have to be careful with that. Thanks!

Comments are closed.