Empty the bag and look at the part that failed. A missing zipper pull, a seam that opened, and a shoulder strap tearing away from thin fabric are three different repair questions. Take a close photo of the damage and a second one showing how the bag hangs when packed.
Ask a local tailor or repair shop, “Could you reinforce this strap where it meets the bag? My child carries books in it every day.” Then ask what the repair would cost and when the bag would be ready. Ask your child whether anything else about the bag already makes it hard to use.
Search “backpack strap repair” with your town. Compare the quote with a replacement your child would actually carry, including any days they’d need a loaner.