• Hi,
    Love the product, but looking to hide the product tab when there has been no information entered.
    I obviously can’t do this just with CSS as this will remove it all the time.

    Thanks
    Craig

Viewing 1 replies (of 1 total)
  • Plugin Author Pektsekye

    (@pektsekye)

    Hello,

    It already has the code to hide the “Vehicle Fitment” tab on the front-end product page:

    
        if (count($block->getRestrictions()) == 0){
          return $tabs;        
        } 
    

    in the file:
    wp-content/plugins/ymm-search/ymm-search.php

    Stanislav

Viewing 1 replies (of 1 total)
  • The topic ‘Hide Tab only when no information’ is closed to new replies.