The block object
block represents the content and settings of a single block in an array of section blocks. The
block object can be accessed in a section file by looping through
block object has the following attributes:
Returns a unique ID dynamically generated by Shopify.
Returns an object of the block settings set in the theme editor. Retrieve setting
values by referencing the setting's unique
Returns a string representing the block's attributes.
shopify_attributes to identify blocks and listen for events. No value for
block.shopify_attributes is returned outside the theme editor.
Returns the type defined in the block's schema. This is useful for displaying different markup based on the