content_for_header

Dynamically returns all scripts required by Shoplazza.

Include the content_for_header object in your layout files between the <head> and </head> HTML tags.

You shouldn't try to modify or parse the content_for_header object because the contents are subject to change, which can change the behavior of your code.

📘

Note

The content_for_header object is required in theme.liquid.

<!DOCTYPE html>
<html>
  <head>
  	<!-- ... -->
  	{{ content_for_header }}
  </head>
  <body>
    <!-- ... -->
  </body>
</html>