Home / Forums / WoodMart support forum / Dynamic Display of WooCommerce Tabs
Home › Forums › WoodMart support forum › Dynamic Display of WooCommerce Tabs
Dynamic Display of WooCommerce Tabs
- This topic has 3 replies, 2 voices, and was last updated 3 months ago by
Aizaz Imtiaz Awan.
-
AuthorPosts
-
April 2, 2026 at 5:20 pm #714935
selqsParticipantHello,
I added a metabox field to WooCommerce products using ACF. This field appears for all products, but the content is different for each product; some products don’t have any content.
Here’s what I need: I can display the ACF field data in the product tabs using Elementor and Custom Tabs. However, for products without content, the tab appears empty. I want to make this dynamic—if the product’s ACF field has content, the tab should show; if it’s empty, the tab should not appear.
The Woodmart theme handles this well: in the product edit panel under “Tabs,” if you fill the field, the tab appears; if left empty, it doesn’t show. I want the same functionality.
While it’s possible to manually fill content for each product, I’m looking for a global solution that covers the ACF fields I’ve created. I want it to work the same way for all products.
Thanks.
April 3, 2026 at 10:57 am #714992Hello,
Try to use WoodMart Custom Tabs instead of Elementor tabs. WoodMart already has built-in Conditions, which is exactly what you need.
Navigate to Products > Custom Tabs > Edit your tab and set the display condition.
Please check this manual: https://xtemos.com/docs-topic/custom-tabs/
If you have any questions feel free to contact us.
Best Regards
April 3, 2026 at 11:18 am #714994
selqsParticipantHello, I’m aware of the setting you mentioned. However, that setting only allows us to control visibility conditionally in areas like products or categories.
What I’m referring to is adding a custom tab next to the existing tabs such as “Description” and “Additional Information” on the product page. This custom tab should only be displayed if it has content for that specific product; otherwise, it should remain hidden.
In other words, I’m talking about a structure similar to the product-specific “custom tabs” field in a metabox.
As shown in the screenshot, the custom tabs section appears on the product page only when it contains content. I would like to make this functionality available globally across the site.
April 3, 2026 at 2:59 pm #715031Hello,
Sorry, but there is no option in Theme Settings available for that.
It requires customizations, and this is beyond our limitations and support policy.
Regards.
Xtemos Studios -
AuthorPosts
- You must be logged in to create new topics. Login / Register