Nothing contained in § 44-8-20 or 44-8-21 shall affect the liabilities of the parties to a contract for sale of real estate prior to the time such contract is merged into a mortgage note and mortgage, and judgment for foreclosure or for the amount due under said contract or any other customary judgment, may be rendered under such contract.
SDCL 44-8-23