Employers can put employees on a 100% commission basis, but they must pay at least minimum wage during those weeks within which the employee works and earns no commission. This is usually handled by a contract for a minimal draw recoverable against future commissions. There are a host of other issues that arise from these arrangements so the employer would be prudent to obtain legal counsel before adopting any particular model.
Press your unemployment benefit claima nd ask for a hearing if you were denied. The burden is on the employer to prove you quit. Under the circumstances you described you were laid off and should be entitled to benefits. If you were picked for lay off because you complained about or opposed illegal business activities that impact public interests then you should locate a local employment attorney (Check California Employment Lawyers website) for a consultation.
Here is a web site address for guidance on how to collect your wages with reference to a state agency that might be able to help. PJ Griego. http://www.ehow.com/how_4665749_unpaid-wages-work-maryland.html