Adding Store Categories

A. Creating Categories For Your Store

Before you add any products to your store, you might want first to create a few categories for your products. Categorizing your products will give your site visitors a better user experience since they will be able to easily browse through the categories and look for the desired products.

Zeno theme saves the products in a custom WordPress post type named “Product”. There are also separate categories for the default WordPress post type (which is used to display the blog posts) and for the categories of your shop.

To create categories for your store, you need to go to Products->Store Categories.

Store Categories

Type a name for your category in the Name field.

Category Name

The Slug field will be automatically filled depending on the name of the category. The slug will build the URL of that category. All categories will be accessible at: http://yoursite.com/product_category/slug

Category Slug

Choose a parent only if you want this category to be a subcategory of another category. Leave None if you’d like your category to be a primary one.

Category Parent

The description field is optional. You can set it if you want to improve the SEO of the category page or if you want a description to be displayed before the content of that category.

Category Description

Click on “Add New Category” button to finish adding the category.

add category

Repeat the process for adding more categories to your store. Once created, you should see the name of your categories in the right side of the page. You can edit any category details at a later time by moving the mouse cursor over the category name.

Edit Category

B. Adding Categories To Menu

Sometimes you may want to display the categories of your store in the main menu of your website. To achieve this, you need to go to Appearance->Menus.

WordPress hides by default the Store Categories panel from being displayed in menu panels list. Therefore, you will need to display it.

Click on Screen Options from the top right side of the page (next to the help tab).

screen options

A drop-down menu with a few checkboxes should be displayed.

Check the box next to Store Categories

Show store categories

 

Click again on Screen Option to close the options.

A new panel called Store Categories should now be displayed in the menu panels list.

Store categories panel

 

To add the categories to the menu, just check the tiny box before the name of the category and click the Add To Menu button.

You should now see the selected categories as menu items. You can drag them to any position you want them to be displayed inside the menu.

Menu categories

Click the Save Menu button to save the changes made.

C. Changing category slug (Optional)

Note: If you change the category slug, your old categories will become unusable and you’ll have to create new categories and assign the products to the new categories again.

The default slug of the product category is “product_category“, which means that every category will be accessible at the following URL: http://www.example.com/product_category/categoryname.

There are a few reasons why you may want to change it. The most common are SEO or fully translating the theme into your own language.

Zeno theme allows you to easily change the slug from the theme options page. Changing the product category slug is fully optional, but just in case you want to change it, follow the instructions below.

To change the category slug, go to Zeno->Links Settings

links-settings

Look for an option called “Store Category Slug” and replace the “product_category” with any other text you want to be used as the category slug.

Do not use any special characters. Only letters, numbers, dashes and underline.

product-category-slug

Save the changes, then go to Settings->Permalinks

You will need to resave the WordPress permalinks after changing the category slug. Otherwise, you will get a 404 error page when you try to access the categories links.

permalinks

Just click the “Save Changes” button. There’s no need to edit anything else.

save-permalinks