hac_storefront_cms_scaffold
Scaffold, customize, and publish CMS layout components for Composable Storefront (Spartacus), then sync staged content online and clear cache for immediate storefront updates.
Instructions
Scaffolds, customizes, and publishes CMS layout components for Composable Storefront (Spartacus).
Args: content_catalog: Target CMS Content Catalog (default 'powertools-spaContentCatalog') product_catalog: Target Product Catalog (default 'powertoolsProductCatalog') hero_title: Title text for the Hero announcement featured_products: List of product SKUs for the 'What's New' product carousel bestseller_products: List of product SKUs for the 'Bestsellers' product carousel banner_configs: List of banner dicts, each with 'uid', 'imageUrl', and optional 'urlLink' sync_online: If True, triggers synchronization from Staged to Online catalog (default True) clear_cache: If True, flushes Region Cache so changes reflect on storefront immediately (default True) lang: Output language ('zh' or 'en')
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lang | No | zh | |
| hero_title | No | ||
| clear_cache | No | ||
| sync_online | No | ||
| banner_configs | No | ||
| content_catalog | No | powertools-spaContentCatalog | |
| product_catalog | No | powertoolsProductCatalog | |
| featured_products | No | ||
| bestseller_products | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |