Liquid How-To Insert Content Blocks

This article is intended for advanced users and our partners as it requires advanced web development or Salesforce admin or programming knowledge. While the functionality is part of StoreConnect, we do not provide end user assistance to implement it beyond our help documentation. If you need help or are unsure on how to do this, you can hire one of our StoreConnect partners.

You can insert any content block from the database with a simple liquid filter.

The input (main-image-overlay-block) is the Content Block identifier.

  {{ "main-image-overlay-block" | content }}

StoreConnect 10.5.0 and up use:

  {{ all_content_blocks["main-image-overlay-block"].render }}

This will output the content block with that identifier.

 

 
Back to Documentation