The logic should instead check whether the product is published or not. If it is a draft or private, it should ignore the custom meta field.
An alternative is to show the product information, but disable the links and replace any call to action text with 'Coming Soon!' type copy.