No, it is not illegal. Commissioned employees may--and commonly are--required to work regular schedules and do work which does not directly result in commissions, the same way tipped employees (e.g. waiters) are required to work when therwe are no customers and no possibility of tips.