Similar to the Custom HTML section, Flex now includes a Custom Liquid section to add custom code to pages with ease.
Avoid direct theme file adjustments by adding the Custom liquid section to a page and using the provided field to include additional, Liquid-formatted content.
Add this section to the
Add Liquid to Custom Liquid Field
Add your code using the Custom liquid field.
Shopify: An Overview of Liquid: Shopify's Templating Language