(a) With respect to a consumer credit sale, if the court finds the agreement or any clause of the agreement to have been unconscionable at the time it was made, the court may refuse to enforce the agreement, or it may enforce the remainder of the agreement without the unconscionable clause, or it may so limit the application of any unconscionable clause as to avoid any unconscionable result.
(b) If it is claimed or appears to the court that the agreement or any clause thereof may be unconscionable, all parties shall be afforded a reasonable opportunity to present evidence as to its setting, purpose and effect to aid the court in making its determination.
(c) As used in this section, "unconscionable" shall mean totally unreasonable under all of the circumstances. (1971, c. 796, s. 1.)