So there's quite a bit to unpack here. Project numbers are the equivalent to series numbers for land rovers. Any 3cx that age will be shuttle. This is the forward and back lever essentially and it will do it in any gear. Most machines in the P8 era will be manual (i.e you select a gear by using the big leaver in the floor) The only other option here is powershift, where you select the gear using the forward/reverse stalk. Engines and gearbox's are pretty bombproof on these old girls, and occasionally they need a solenoid replacing if they give up going in one direction or the other. Engine choices are turbo or non turbo. Both are good enough for round the yard use, turbo has the edge on road travelling and really hard work (and sound great!)
The front ends are the same on both machines, don't think they changed much really here. Should come with a 4in1 bucket with forks. Check the opening jaw isn't bent or it wont close properly - and the back jaw hasn't been worn down to nothing from scraping snow from roads. Some will have SRS or smoothride for the front bucket. This acts like a giant gyro to stop the machine bouncing so much. Great for road travelling, not so crucial for round the yard.
The back ends probably where the biggest change is. The P12 has rams that slew the back arm. The P8's and earlier have a worm drive gearbox which wear significantly.
The biggest thing with buying any used plant is try and buy the best you can for your budget and not the newest. I doubt you will find many P12's for 15k. And really at that money you are into ropey P8's (they did a side dash and front dash model. Not a lot between them) £15k will get you a very tidy P7 (grey cab) which were highly regarded machines at the time. Although personally I think they should top out around £10k rather than 12 like some of them are on eBay - some chancers think they are like gold dust at the moment!
One more thing, join the Vintage JCB machines page on Facebook. Even if you don't do Facebook, its a really good group full of very knowledgeable people. I doubt there isn't anything they don't know about fixing these old diggers and there are a couple of decent used parts dealers on there too for spares. Plenty of used ones come up for sale too.
Or like Rory says, another brand will get you a lot more bang for your buck.