Maybe one of the weirder ideas I have had. Part obsession with my books, part interest in whether anyone would ever buy a t-shirt. So far the answer is no.
I originally made the site using PHP and AngularJS but I decided to make it into a WordPress site. I used the Block Press theme and the block editor to make everything, the only code I needed to add was for creating a new Post type book. The biggest problem was linking a book to a purchase. As there is only one product – a T-shirt – there was not a normal way to record which print was purchased in the orders UI. I eventually managed to attach the URL of the page to the order notes.
Getting the books to work was also some effort. The WordPress block editor, especially the non-premium version only available on WordPress.com sites. is still fairly limited. I do not suspect the extra block features will be added to free WordPress. A lot of it required coding and the use of ACF. Predictably ACF Pro has the ability to create custom blocks with some work.

Leave a Reply