Function not correct

The addition of this function made every product that is not a Gift Card
'Un-Purchasable'.  I'm not sure what this was supposed to do, but it
breaks an entire Woocommerce site by making it impossible to purchase
any product that isn't a Gift Card.