dw.catalog
Class Catalog
Represents a Commerce Cloud Digital Catalog. Catalogs are containers of products and other product-related information and can be shared between sites. Every product in the system is contained in (or "owned by") exactly one catalog. Every site has a single "site catalog" which defines the products that are available to purchase on that site. The static method CatalogMgr.getSiteCatalog() returns the site catalog for the current site.

Catalogs are organized into a tree of categories with a single top-level root category. Products are assigned to categories within catalogs. They can be assigned to categories in their owning catalog, or other catalogs. They can be assigned to multiple categories within the same catalog. Products that are not assigned to any categories are considered "uncategorized." A product has a single "classification category" in some catalog, and one "primary category" per catalog. The classification category defines the attribute set of the product. The primary category is used as standard presentation context within that catalog in the storefront.

While Commerce Cloud Digital does not currently distinguish different catalog types, it is common practice to have two general types of catalog:

  • "Product catalogs" typically contain detailed product information and are frequently generated from some backend PIM system.
  • "Site Catalogs" define the category structure of the storefront and contain primarily the assignments of these categories to the products defined in the product catalogs. The site catalog is assigned to the site.

In addition to products and categories, catalogs contain recommendations, shared variation attributes which can be used by multiple master products, and shared product options which can be used by multiple option products.

Properties
description  :  String  (Read Only)
The value of the localized extensible object attribute "shortDescription" for the current locale.
displayName  :  String  (Read Only)
The value of the localized extensible object attribute "displayName" for the current locale.
ID  :  String  (Read Only)
The value of attribute 'id'.
root  :  Category  (Read Only)
The object for the relation 'root'.
Constructor Summary
This class does not have a constructor, so you cannot create it directly.
Method Summary
getDescription() : String
Returns the value of the localized extensible object attribute "shortDescription" for the current locale.
getDisplayName() : String
Returns the value of the localized extensible object attribute "displayName" for the current locale.
getID() : String
Returns the value of attribute 'id'.
getRoot() : Category
Returns the object for the relation 'root'.
Methods inherited from class ExtensibleObject
Salesforce Commerce Cloud Courses
Salesforce B2C Commerce Developer - Certification Tests
Why risk failing the SFCC exam? Get 180 real questions, killer content, and everything you need to crush the Salesforce B2C Commerce Developer certification.

Becoming a Salesforce B2C Commerce Developer is your ticket to higher salaries, better job opportunities, and the credibility to stand out from the competition. But let's be honestβ€”passing the certification exam isn't easy. That's where we come in.
Salesforce Javascript Developer I - Certification Tests
Not just another prep courseβ€”this is your shortcut to passing. Master JavaScript for Salesforce and go from 'hoping to pass' to knowing you will. Ready to start?

This isn't just another prep courseβ€”it's your shortcut to mastering the skills and confidence you need to pass. With multiple practice tests covering every section and a final exam simulation designed to mirror the real thing, you'll feel like you've already aced it before test day.
Salesforce B2C Commerce Architect - Certification Tests
Think the Developer exam was hard? Welcome to the next level.

The Salesforce B2C Commerce Architect certification is a whole different gameβ€”complex solutions, elevated difficulty, and skills that set you apart in the eCommerce industry. That's why we're including 11 downloadable PDF guides, packed with best practices and strategies to help you prepare for the exam and build confidence in every topic.
Methods inherited from class PersistentObject
Method Detail
getDescription
getDescription() : String
Returns the value of the localized extensible object attribute "shortDescription" for the current locale.
Returns:
The value of the attribute for the current locale, or null if it wasn't found.

getDisplayName
getDisplayName() : String
Returns the value of the localized extensible object attribute "displayName" for the current locale.
Returns:
The value of the attribute for the current locale, or null if it wasn't found.

getID
getID() : String
Returns the value of attribute 'id'.
Returns:
the value of the attribute 'id'

getRoot
getRoot() : Category
Returns the object for the relation 'root'.
Returns:
the object for the relation 'root'.

β™₯
Notifications pending to read