NOTE: This only works on 14w26c and up. The shop will not function if the commands that work with the book are not present. You would only get the book with the following commands:
Command (Summon): http://pastebin.com/HabcLgwM
Command (Give): http://pastebin.com/gbxTH6R2
With a stunning amount of characters, nearly 20,000, I've managed to complete this a long with a short minigame to play around with.
Want to look for yourself? Download the world!
Download: https://www.dropbox.com/s/0rbxl4qqtadafeg/BookShop.zip
Music: David Bulla - Highlife
Credit to the Wicked Perfection Network for aiding me in recording.
https://www.youtube.com/channel/UCeOPU1rom9884aInUbGoioA
NOTE: This only works on 14w26c and up. The shop will not function if the commands that work with the book are not present. You would only get the book with the following commands:
Command (Summon): http://pastebin.com/HabcLgwM
Command (Give): http://pastebin.com/gbxTH6R2