File details- cms_slot.csv

Edit on GitHub

This article contains content of the cms_slot.csv file to configure CMS Slot information on your Spryker Demo Shop.

Headers & Mandatory Fields

These are the header fields to be included in the .csv file:

Field Name Mandatory Type Other Requirements/Comments Description
template_path Yes String Must be a valid path to a twig template. Path to the Twig file template.
slot_key Yes (unique) String N/A Identifier of the slot that is used by slot widget when rendering the content of this slot
content_provider Yes String Must be a valid type of content provider. Defines the source of content of this slot.
name Yes String N/A Alphabetical identifier of the slot. It will be shown in the Back Office.
description Yes String N/A Description of the slot. It will be shown in the Back Office.
is_active No Boolean
  • Inactive = 0
  • Active = 1
  • If empty during the import, the slots will be imported as inactive.
Indicates if the slot is active or inactive.
If the slot is inactive, it is not rendered in the Storefront by the slot widget.

*N/A: Not applicable.

Dependencies

This file has no dependencies.

Template File & Content Example

A template and an example of the cms_slot.csv file can be downloaded here:

File Description
cms_slot.csv template CMS Slot .csv template file (empty content, contains headers only).
cms_slot.csv CMS Slot file containing a Demo Shop data sample.