sounds like you have a faulty tco (thermal cutout) on the outlet pipe.
but thats inside the shower unit you would have to remove the front cover and check to see if the wires are burnt etc.
but thats inside the shower unit you would have to remove the front cover and check to see if the wires are burnt etc.