block
Section Block's content and settings.
Sections and Blocks are reusable content modules that make up a template.
Properties
The ID of the block.
This ID is generated dynamically by Shopline.
The block's settings.
For information on access settings, see Access Settings. To discover which input settings are applicable to attributes in the type settings, see Input Settings.
Data attributes of the block used in the theme editor.
The JavaScript API of the theme editor uses data attributes to identify blocks and listen to events. block.shopline_attributes does not return any value outside the theme editor.
The type of the block.
This type is a free-form string defined in the schema of the block. You can use type as an identifier. For instance, you can display different markers depending on the block type.