Skip to content

Theme check and Liquid fixes ​

Last updated View as Markdown
  • With youcan theme check, the theme in the current directory is checked, and every error and warning is listed with its file and line. The exit code is 1 when the theme has errors. See Theme Check.
  • In tablerow, you can loop over a range such as (1..4). col, col0, col_first, col_last and row are available on tablerowloop. A <td> is printed for each item, also when the loop is stopped with break. See tablerow.
  • Any array, such as product.variants, can be paginated. Inside the paginate tag, only the current page of the array is available. See paginate.
  • Variables that you assign outside a theme block cannot be read inside it. See Rendering theme blocks.
  • Variables that you assign inside a section rendered with section or sections are not visible outside the section.

Last updated: