To start off, I am extremely new to WordPress and coding and pretty much everything other than simple blogging. I stay this so that people realize in responding that I am very new.
I am creating a sort of niche site with Amazon Affiliates. I am using the WooZone plugin with WooCommerce so that I can create my own store. A lot of people come to my site and Facebook page looking for specific book recommendations, and I’m having my “store” set up to include all of the books I would recommend so they can search things in one location (rather than being redirected constantly to the Amazon product page). I also want to include other products other than books. I’m having a hard time figuring out how to do this, however. I have looked at the bookstore themes available through WooCommerce, but, as I said, I want to be able to have other products other than books. I would like to be able to organize my store like the bookstore theme, though–at least for the book category.
I have my WordPress set up as a multisite. I have created a child theme of the WooCommerce Storefront theme, and I have that as my theme for my store site. I have
functions.php in the child theme template. (I apologize if I didn’t word that properly–I have stated I am new!)
I want to be able to search products (specifically for books) by publisher, author, title, and format. I have read somewhere (forgive me as I cannot find the link now) that another individual was doing this by using custom post types and post relationships. I have the plugin Toolset, and I am familiar with creating custom post types and taxonomies, but I’m having a hard time understanding post relationships.
So far, what I have done is created 4 custom post types that are child post types of the “Products” post type that is made when WooCommerce is installed. I don’t know if this is the proper way to do this, though. These custom post types are “Publisher,” “Author,” “Title,” and “Format.” Obviously, there are some relationships between these things.
Am I on the right track here? After reading about many to many relationships between post types, it doesn’t quite sound like I am, at least when referring to the relationships between the post types.
I would appreciate any help (and your patience) in directing me on how to do this. I’m willing to learn (and I have been learning to code in my spare time), but I’m just not quite familiar with some of these things.
Thanks in advance.
Read more here: WooCommerce Store for Books and Other Items