Welcome to the forums, newcomer!
If the repair shop stated that they both have issue that can't be repaired, then it's very likely the motherboard that's conked out. Did you get to an answer from the store stating what went wrong and maybe what to avoid not doing if the issue crops up again?
If the motherboard is what's wrong, and the rest are in working order, then the ram and storage are the only things you can salvage but at this point, you're better off buying a new laptop as opposed to wasting time on devices that were deemed non-repairable.