In this section, we will learn how to create a new module. As an example, the product catalog will be created, but in the same way, you can create any kind of catalog such as services, courses, real estate advertisements, or freelancer directory.
Before you create your own catalog module, you should plan its structure very thoroughly. First of all, reflect on the number of levels. Write down how many levels (product categories, subcategories, and so on) you need. For my example, I will create a simple office furniture catalog. I need the following three categories to which the products can be assigned during creation:
Desks
Chairs
Bookcases
This means that for the furniture catalog, a two-level structure is required, such as categories and products. Each product will belong to only one of the categories listed previously.
In the next step, you have to figure out what fields you need to create for one item (product) in your catalog. This is like making a table from your...