Best solution:
Restore from your backup.
Don't have a backup?
Open the zip file of the cart installation, and extract and replace the ASCX file that you changed that broke it.
Read the "HOWTO" on setting up a sandbox (development site), so you don't break your production site.