Replacing the battery in light-up Crocs isn't hard if you know what you're looking at.
The LED unit in those Lightning McQueen clogs runs on a small coin cell battery, usually an SR44 or LR44, and it sits inside a plastic housing near the heel. The whole thing is designed to be accessible, but the housing clip can be stubborn if it's been underfoot for a while. Flip the shoe over and locate the small rectangular cover on the sole near the back. It's slightly recessed and has a tiny notch for prying. Use a small flathead screwdriver or even a coin to lift it. The lid snaps off with moderate force. Don't force it if it resists—work around the edges gently. Once open, you'll see a small circuit board with two wires leading to the LED strip. The battery slides out from the side. Note the orientation before removing it. Positive side faces up, usually marked with the writing visible.
Clean the contacts with a cotton swab and a tiny bit of isopropyl alcohol. This step is easy to skip but makes a difference. I once replaced a battery and got nothing because the contact point had green corrosion buildup from sweat getting into the unit. Rubbed it down, same battery, lights came on immediately. Insert the new battery with the correct polarity. The CR44 is interchangeable with SR44 and LR44 but they are not all exactly the same voltage. SR44 is silver oxide at 1.55V while LR44 is alkaline at 1.5V. Your LEDs will work fine either way but silver oxide lasts significantly longer. I've had a pair last two seasons with SR44s and only a few months with the cheap alkaline ones. Close the cover. It should click shut with a firm press. If it doesn't sit flush, check for debris in the groove. The seal doesn't need to be airtight but it should be snug enough to keep water from pooling inside.
Test the lights by stepping on the pressure sensor. Sometimes the switch needs a firm press on the heel area, especially if the shoe hasn't been worn in a while and the mechanism has settled. If the lights still don't activate after a fresh battery, the issue is usually not the power source. The LED module itself can fail, or the wiring from the circuit board to the lights can crack internally. These units are not sealed well against flexing, and the wires run through moving parts of the sole. I found one where the wire had broken inside the insulation near the toe. Had to fish it out with a pin and reseat it. Worked again after that. A few things worth knowing. These batteries cost about two dollars for a pack of ten at any pharmacy. Don't buy the bulk packs from random sellers on marketplaces—the expiration dates on those are often years old and they hold little to no charge. Buy from a store with turnover.
Get the Full Details

The on/off switch is a simple button on the circuit board. Some people try to remove the battery entirely to turn the lights off when storing the shoes. That works but the switch is there for a reason. Just flip it and save yourself the hassle of prying the cover open later. If the unit is completely dead and a new battery plus cleaned contacts don't bring it back, replacement modules are available online for around eight to twelve dollars. They match the original wiring and snap into the same housing. I've used them and they function identically to the original part. The main limitation with these light-up shoes is that the electronics are not waterproof. Wading through puddles or washing the shoes in a machine will kill them quickly. Hand clean only. That's the real takeaway more than any specific technical detail.