The tanks are polypropylene and can't be mended. There are many reasons for failure. Not cutting the holes correctly and leaving a crack propagation point, poor support of the tank on the base (twisted), age cracking, using even the tinyest amount of recycled plastic in the mix (brittle), impact damage when fitting.
With a crack in the top corner the cheapest solution is to lower the water level in the tank by refitting the Ball Valve lower down and moving the overflow down with it. Obviously you need to drain the tank and check the stability of the supporting base. If you can, drill a small hole below the crack in good material to stop it growing -stress is distributed around the hole.
If the crack continues to grow and leak and you need a tank with the same capacity as the original you can fit two or more smaller tanks connected in SERIES. The flow from the valve inlet must pass through all the tanks and exit from the last one. Presumably you have a gravity mixer shower or an unreliable/ poor mains supply.
Hope that helps FiB.