Build Your Own Business Website header image

Whoops, you've found some premium content!

Watch the opening clip of this video to preview it,
the full video is available to paid members.

Lesson 2 – Part 9 – Setup the Product Catalog in Thesis 2

Difficulty Level -

Filed Under Topics - , ,

Listed Under Lesson Subjects -

Applies to -

We’ve set up the WP eStore product catalog in Genesis so now it’s time to come back over to which is a Thesis 2.1 site. And now we’re going to set up the product catalog in the Thesis theme 2.1 but we’re going to do something entirely different from what we did in organizing our products in Genesis.

Use Custom Post Type for Products

So in this case, we’re going to create a custom post type for products and we’re going to create a custom taxonomy for product categories. This will let WordPress and Thesis manage the display of groups of products and individual products rather than using shortcodes for WP eStore. Notice how it gives you a lot more control over the appearance of your store than the 13 styles that you have available to you otherwise.

Install Custom Post Type UI Plugin

What we’re really going to start off with though is installing the plugin Custom Post Type UI. This is the one here by WebDevStudios. We’ll install that one and activate it and then we’re going to create a custom post type.

Create Custom Post Types

So we come over to custom post types and Add New. The post type name is going to be products, all lower case, the label is Products and the Singular Label is Product. We don’t need to do a description but we’re going to take a look at the Advanced Options here.

Add Advanced Options

Public is going to be True, Show UI is going to be True, Has Archive is going to be True not False, Exclude From Search will be False, Capability Type will be post, Hierarchical will be False, Rewrite equals True. And the Rewrite here well, it’s going to be products, the default Rewrite which is fine with us. And With a Front, we’ll say say it’s True, Query Var is True, Menu Position doesn’t really matter, we’re just going to let it stay.

We do want to Show in Menu, we’re not going to create a new icon for this, we’ll just let it shake out. It’s going to support Title and Editor and Excerpt. We’re not going to worry about Trackbacks, we do want Custom Fields. We’re not going to do Comments on our products so we’ll take that off.

We definitely want Featured Image but we don’t care about Author. We don’t care about Page Attributes and we don’t care about Post Formats so all we really have is Custom Fields, Revisions, Featured Image, Excerpt, Editor and Title and we’re not going to sign either of these built-in taxonomies to it.

We’ll say create the custom post type and now, you can see over here we’ve got this thing called Products, Add Product, right?

Create Taxonomy for Product Categories

Now we’re going to create a taxonomy and we’re going to call it product_categories, again this is all lowercase. The label will be Product Categories, the Singular Label will be Product Category, it will only apply to Products.

Advanced Options

We’re going to open up its Advanced Options and Product Categories are going to be Hierarchical. We will show True, we will do a Query Var, we will do a Rewrite but instead of product_categories as our Rewrite Slug, we’re going to use Store. And we’re going to create that custom taxonomy.

Add Product Categories

Now if we look over here at Products, we can add a product or we can add Product Categories. We’re going to come over here to Product Categories now and we’re going to start adding our product categories.

So our first product category is Instruction and at the moment, we’ll just say Add New Category. And then under Instruction, we’re going to have WordPress Instruction, that will go under Instruction and then the parent will be Instruction, so we’ll create that product category. Then we’ll have Thesis Instruction, I will create that category and then Genesis and add that product category. Then WooCommerce Instruction, add the category and then MarketPress as part of Instruction.

This is why it’s hierarchical because these are all children of this one. WP eStore, WP eMember and a SimplePress Forum Instruction, okay.

Next up we have Plugins that has no parent and then we’ll have Thesis Plugins so we make Plugins the parent. Genesis Plugins and keep Plugins as the parent and then the last one is Consulting and it has no parent and we have no sub product categories for that.

So these are all of our currently set up. We have Consulting, Instruction and Plugins as our main categories, Instruction and Plugins has subcategories and these aren’t categories, these are products categories. It’s a whole different taxonomy and so now what we need to do is create our products.

Save $200 on Membership Now!

Start learning today for as little as
$0.82 PER DAY!
Subscription Options
0 Comments… add one
0 comments… add one