Module: Commerce content modeling
29 of 38 Pages
Design stored content widgets
Stored content widgets hold all their data directly on the page, with no Content hub reference. Use this pattern sparingly - only for content that is truly unique to a specific page and won’t need to be reused elsewhere.
Content stored in widgets lives only on that page
Xperience stores Page Builder widget data - content and configuration - in a single database cell per page. This content cannot be queried, reused on other pages, or delivered through other channels. If there’s any chance the content will need to appear elsewhere, use a mixed content or referenced content pattern instead.
RichText widget
Editors can add free-form rich text content for page-specific messaging provided with XbyK’s out-of-the-box Rich text widget. Depending on your needs, developers can customize the rich text and provide editors with project-specific functionality.
Use cases: Page introductions, unique disclaimers, one-off announcements.
Additional Stored content widgets to consider
- Page heading - One-off headings, mostly on the landing pages. Properties: Heading text, Heading type (H2-H3), Heading visual size (Dropdown - Small, Medium, Large, Huge), Heading style (Dropdown - Depends on brand design manual). See the Page heading widget on the Kbank demo site.
- Spacer widget - Visual breathing room between content sections. Properties: Height in pixels or preset (Dropdown - Small, Medium, Large, Huge) with responsive height adjustments for mobile and tablet. (Can be replaced with dedicated section properties to add, e.g., additional margin between sections or padding to elements within the section.)
- Divider widget - Visual content separation. Properties: Divider style (Radio - Line, Dots, Dashed, Decorative), Width (Dropdown - Full, Centered-short, Centered-medium), Color, Thickness, Spacing above/below. (Can be replaced with a dedicated section property that creates a divider line.)
- Offer Countdown Timer widget - Time-limited offer countdown. Properties: End date/time (Date and time input), Expired message (Text), Timer label (Text), display format, color scheme, and size. Use for limited-time offers, event countdowns, and sales deadlines.