Component: /atg/commerce/catalog/custom/AncestorGeneratorService
.
The AncestorGeneratorService
component generates ancestor categories for the product
and category
item types, and stores the names of these ancestor categories in the ancestorCategories
property of each product and category.
The AncestorGeneratorService
updates the following property values for each of the catalog item types. This service must be executed after making catalog updates in order for catalog navigation and search to work correctly.
Item Type | Property Names |
---|---|
Categories |
|
Products |
|
SKUs |
|
If you have extended the Oracle ATG Web Commerce catalog schema, you can still use AncestorGeneratorService
to generate ancestor categories, provided that:
The catalog includes item types that represent categories and products (regardless of the actual names of these item types).
The item types representing categories and products each have a property for storing the names of ancestor categories (regardless of the name of the property; note, however, that the property must have the same name for each item type).
Available Functions
AGS_GENCATALOGS: generates the catalogs
properties
AGS_GENPARENTCATS: generates the parentCategoriesForCatalog
property
AGS_GENANCESTORS: generates the ancestorCategories
property
AGS_GENPROPERTIES: generates all properties for all items
AGS_GENPROPERTIES_FOR_CATEGORY: generates all properties for categories
AGS_GENPROPERTIES_FOR_PRODUCT: generates all properties for categories and products