If it is a puck style transducer, here is an easy and inexpensive fix:
Take a Dremel or similar tool and cut the broken mounting ears off the top of it. Smooth everything down so that the sides are nice and flush. Then, take a piece of PVC pipe that is just slightly smaller than the diameter of the trolling motor puck transducer and cut it to the same height as the transducer + 1". Slit that piece of PVC pipe down one side. Now, put some good two part epoxy - I recommend slow drying 2-ton weld - on the transducer SIDES only, keeping it off the transducer face (the bottom part) and slip the cut piece of PVC pipe over it, wiping away any excess epoxy that squirts out so that it doesn't get on the transducer face. You will have to slightly stretch open the PVC pipe at the slit you cut in it, but once it is on the transducer, it should be a tight fit, as it it trying to close again. Keep the slit towards the back part of the transducer, so that when it is in the water later, it doesn't catch on grass and underwater items. Let that dry. Then, when everything is dry, cut two new mounting slits on the top of the PVC, mount it to your trolling motor as before, and keep on rolling. You may need to notch out the center of the PVC so that it fits the curve of your trolling motor, but that is easy with a Dremel as well.
I don't have a broken one to demonstrate on, but if my description is not clear, I can make up one in my garage and take pictures to demonstate. I just won't cut the ears off of my good one - but you can get a better idea.
All the best,
Glenn