How to hide tab in product detailed page when there is no data

For Example i have two products as ProductA and ProductB

ProductA has warranty so warranty tab has to display

ProductB has No warranty so warranty tab should not be displayed.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.