Catalog & Products
Product Groups (Collections)
Admin-curated product collections rendered as product bands
Product Groups
Product groups are collections curated in the admin (Products → Product groups), e.g. "Hot deals" or "New arrivals". Fetch one group by slug and render its products as a band or grid.
const { data: group, error } = await client.catalog.getProductGroup('hot-deals', {
locale: 'cs',
currency: 'CZK',
});
if (group) {
// { id, slug, type, name, description, items: ProductListItem[] }
}nameanddescriptionresolve in the requestedlocale, falling back to the shop default language.itemsare standardProductListItemobjects (same shape asgetProducts), so any product card component works unchanged.- Disabled products are excluded automatically; an inactive or unknown slug returns a 404
SdkResulterror, so render nothing in that case.
React hook
import { useProductGroup } from '@behio/storefront-sdk/react';
const { data: group } = useProductGroup('hot-deals', { locale: 'cs' });Available since SDK 0.27.0.