i worked on many ecommerce product development.
The process flow will look lik there are two panels say admin and front end panel. The admin can post the books with the fields like book name, description, download link,price,etc...The customer can purchase the books from the front end panel.