Hello,
Create a separate Single Product Layout specifically for the categories where you want to display the custom text.
1. Navigate to Layouts > Single Product Layout.
2. Create a new layout.
3. In the layout settings, scroll down to Conditions, assign the layout to the specific product categories where this text should appear.
4. Add your text block inside this layout.
This way, the text will only show for products in those selected categories, and your main layout will remain unchanged for all other products.
Here is our documentation on how to use Layouts in our theme: https://xtemos.com/docs-topic/woodmart-woocommerce-layout-builder/
Best Regards,