All contracts for the sale of any product in violation of the provisions of this title shall be void; no action shall be maintained in any court for the purchase price or value of any product the sale of which is thereby prohibited; nor shall any person be liable for the price or value of any product furnished in violation of any of its provisions.
SDCL 39-1-7