Created by: eggemplo
Makes Woocommerce products purchasable according to user’s role. Sometimes you do not want guests or certain users can purchase products, simply show them, but they are not purchasable.