cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Categories can contain either other categories or products, but not both.

Summitt12
Participant
1,036

H team

I have a question on PCM in Commerce

Is it correct that Categories can contain either other categories or products, but not both.?

Regards

Accepted Solutions (1)

Accepted Solutions (1)

Harish_Vatsa
SAP Champion
SAP Champion

No, this is not correct. In SAP Hybris, Categories can contain both products and subcategories simultaneously.

  • Categories in Hybris are hierarchical structures that allow you to organize products and subcategories.
  • A single category can:
    • Contain products directly assigned to it.
    • Have subcategories, which can themselves contain other subcategories or products
Summitt12
Participant
0 Likes

Thanks Harish

On related topic, Can the product catalog contain more than one category with the same code attribute value?

Does the  Each product must be associated with at least one category?

Answers (1)

Answers (1)

geffchang
Active Contributor
0 Likes

Category can technically have any of these combinations:

  • Category (Supercategory, Subcategory). See CategoryCategoryRelation.
  • Product. See CategoryProductRelation.
  • Category (Supercategory, Subcategory), Product.
  • No Category, No Product.