Defining the Product Entity
In the previous section, you learned about the concept of Product Information Management. As the name suggests, in a PIM system, it's mandatory to create a class that represents the products, and this is what we are going to do in this section.
Pimcore does not set any constraints as far as the concept of products is concerned, so we can simply create a class named Product
and define all the attributes that reflect our needs. So, as you learned in Chapter 5, Exploring Objects and Classes, just go through Settings | Data Objects | Classes, and create a new class named Product
.
If you followed the instructions provided in the Technical requirements section, you should find an already defined Product
class. Please note that this is just a typical example of the concept of a product and that you can add or remove class attributes according to your needs. You can see what this class looks like in the following screenshot: