2 Questions 1. Is it possible to change the unit

2 Questions
1. Is it possible to change the unit of membership from time to number of classes?
2. Is it possible to display member prices and non-member prices depending on the person looking at the site? I want to offer a discount to existing members for the renewal