Cert++
Close

Content slots in templates with isslot

Key Takeaway

An <isslot> tag needs a plain-string id, a context of global, category or folder, and a plain-string description. A category or folder slot also needs context-object, an expression that evaluates to that single category or folder object.

A content slot is a placeholder on a storefront page that merchants fill with content, such as a banner, products or content assets. A developer creates the slot by adding the <isslot> tag to an ISML template. Merchants then choose what appears in the slot from Business Manager.

Who does what

The work is split in two. The developer places <isslot> in a template. B2C Commerce scans all templates for these tags and lists each slot on the "Content Slots" page in Business Manager. On that page, merchants create one or more slot configurations for each slot.

When several slot configurations are scheduled, rank decides which one appears. The lower rank wins, so a rank of 10 beats a rank of 30. On a tie, B2C Commerce uses the configuration that was edited last.

If the Content Slots page shows no slots and no "New" button, a developer must add the required <isslot> tags to the rendering templates in the cartridges. Merchants can create slot configurations only after B2C Commerce finds the slots.

B2C Commerce Developer Study Guide

Checklist progress

0/237Learned

Given a development task, code ISML templates that use functionality, such as local include, remote include, components, and other ISML tags

0/14

Prepare for the Exam

Play Today's Certle

Study Community

Ask questions and get the latest info from other B2C Commerce Developer studiers. 796 members and growing.