How to add a subcategory to a categories to show on online store?

To add a subcategory to a product, please follow the steps mentioned article below:

Step 1: Go to “Product and services” and click on “categories”

Step 2: Click on “+ Add Category”

Step 3: Enter the “Category Name, Order and click on Add category”
Example: Main category name is Electronics.

Step 4: Click on “Edit”

Step 5: Select “Sub-category”, next Enter the “Sub-category Name, Order and click on Add category”
Example: Sub- category name is TV.