Managing Product Categories, Tags and Attributes

You are here:
< All Topics
Table of Contents

1. Product categories

Product categories are the primary way to group products with similar features. You can also add subcategories if desired.

For example, if you sell clothing, you might have “t-shirts”, “hoodies” and “pants” as categories.

a. How to add/edit product categories

Categories are managed from the Products > Categories screen.

  • Add a Name.
  • Add a Slug (optional); this is the URL-friendly version of the name.
  • Choose a Parent if this is a subcategory.
  • Enter a Description (optional); some themes display this.
  • Choose Display type. Decide what is shown on the category’s landing page. “Standard” uses your theme’s default. “Subcategories” will display only the subcategories. “Products” only display products. “Both” will display subcategories and products below that.

Upload/Add Image (optional);  Some themes have pages where product category images are displayed, so this is a good idea.
Storefront by default displays product category images on the homepage template.

When you add a new product via Products > Add Product, you can select this new product category from the list.
Alternatively, you can go to Products > Add Product directly, and select Add New Product Category.


2. Product tags

a. What are product tags?

Product tags are another way to relate products to each other, next to product categories. Contrary to categories, there is no hierarchy in tags; so there are no “sub-tags.”

b. How to add/edit product tags?

Tags can be added similarly to adding product categories and work in exactly the same way as post tags.

3. Product attributes

a. What are product attributes?

A third and important way to group products is to use attributes. There are two uses of this data type that are relevant for Safhitak:

  • First is via Safhitak widgets. “Filter Products by Attribute” allows you to select a specific attribute. If you add this widget to your sidebar, customers can filter products in your store based on the attribute.
  • The second is via variable products. To create a variable product, an attribute must first be defined for the product. These attributes can then be used to make a distinction between different variations. More info at: Variable Products.

b. How to add/edit product attributes?

Set global attributes

Go to Products > Attributes to add, edit, and remove attributes.

Here you can quickly and easily add attributes and their terms.

  • Add a Name.
  • Add a Slug; (optional); this is the URL-friendly version of the name.
  • Enable Archives if desired. If enabled, you can view a page with all products having this attribute. For example, if you have this enabled, and “black” is one of the options under “color”, you can add to your menu to only display black clothing – pa stands for “product attribute.”
  • Select a Default sort order. Choose between “Name”, “Name (numeric)”, “Term ID” or “Custom ordering” where you decide by dragging and dropping the terms in the list when configuring the terms (see below). “Name (numeric)” is relevant if the values are numbers. If you select “Name”, it sorts alphabetically with 1 and 10 preceding 2. If you select “Name (numeric)” it sorts based on a numerical value.

Select Add Attribute.

The attribute is added in the table on the right but without values.

Select the “Configure terms” text to add attribute values.

Next Add New “Attribute name”, where “Attribute name” automatically takes the name you gave the attribute in the previous step.

Add as many values as you wish. If you selected “Custom ordering” for the attribute, reordering your values can be done here.

Add global attributes to a product

Add the created attributes to your products.

  1. Go to: Products > Add Product (or edit an existing one).
  2. Select the Attributes to tab in the Product Data. There you can choose any of the attributes that you’ve created in the drop-down menu.
  3. Select Add.

If you selected a global attribute that you previously created, you can select the terms that you added previously.


Add custom attributes

Alternatively, add an attribute you only want to use for one product. This would only be ideal if you have a product with unique variations.

    1. Go to: Product > Add Product.
    2. Select the Attributes tab.
    3. Select Custom product attributes in the drop-down and follows the above steps.