OBNB doesn't sell books, but you may be able to find a copy at one of these websites:
Herbie's magical hat by Otfried Preussler. ISBN 034036131X. Published by Hodder & Stoughton in 1985. Publication and catalogue information, links to buy online and reader comments.