check enrollment dates and don't show buy now button if enrollment is not open