The script object

script objects contain information about the Shopify Scripts published in your store.

Find scripts by type using the global scripts object. It's good practice to check whether a script type exists before referencing its properties with Liquid.

To learn more about Shopify Scripts, visit the help content for Shopify Scripts and the Script Editor .

The script object has the following attributes:

script.id

Returns the script's ID.

script.name

Returns the script's name.

On this page