Skip to content

Section availability and stylesheet tag ​

Last updated View as Markdown
  • Use enabled_on or disabled_on in a section schema to choose the templates where the section can be added. See enabled_on and disabled_on.
  • With the stylesheet tag, CSS is added to the page. The same CSS is added once per page.
  • Inside a liquid tag, a comment line, the matching endcomment line and every line between them are skipped.
  • templates/thankyou.json and templates/upsell.json are optional. When they are missing from a theme, the customer sees the default pages. See Required files.
  • You can leave out name on an @app block.

Last updated: