Make sure that it is wired up right from the battery.

jumper across the push button switch on the foot pedal to see if the switch is working as it should.

they may have wired for a 12 volt and not getting the full 24 volts.

for 24 volts positive of one battery to positive of the trollmotor

negtaive of the other battery to negative of of the trollmotor

a jumper wire between the neg and positive post that are empty.

check voltage at the troll motor.