I would like to hide the barcode field on the product page only when a product is out of stock.
Id like to do this because I have replaced the barcode field with “delivery estimate 5-15 days”
The delivery estimate is for when a product is in stock and not an estimate on when it will be restocked.
So I want the barcode field to show when a product is in stock but not show when it’s out of stock.
I would be happy to place the delivery estimate in another field on the product page if that makes it easier.
Thank you in advance to to anyone that can help.