Content Slots

Content slots are containers for components. In order for a component to be displayed in the storefront, you must add it to a content slot.

There are three types of content slots:

  • Page content slots: A page content slot, also simply referred to as a slot, belongs to the page that it is on, that is, it belongs to that page instance. When you add content to a slot, the content is displayed in the page that the slot is in.

  • Shared content slots: A shared content slot is a content slot that belongs to a page template and not to an individual page instance. Shared content slots are displayed in all pages that use the page template that the shared content slot belongs to. The content of a shared content slot is displayed in every page that is based on the page template. Navigation, cart, and footer slots are examples of shared content slots.

  • Non-shared content slots: A non-shared content slot overrides a shared content slot on a specified page, that is, on a specified page, you choose to override the content of a shared content by converting the shared content slot to a non-shared content slot. The non-shared content slot is essentially placed on top of the shared content slot in the selected page.

You can convert shared content slots into a non-shared content slots, but you cannot convert them into page content slots. You can revert non-shared content slots to shared content slots, but you cannot convert non-shared content slots into page content slots.

For more information about content slots, see the following: