Script Editor

Script Editor splash

Shopify Plus

Scripts and the Script Editor app are available to Shopify Plus merchants only.

Shopify's Script Editor allows you to create Ruby scripts that can change the prices and properties of line items in your store's cart. Using scripts, you can create discounts that will be applied automatically based on the items and properties of a cart. The Script Editor app adds a place to write and store scripts in your Shopify admin.

You can write scripts using the Shopify scripts API documentation.

Theme compatibility

You can use Shopify Scripts with the following official Shopify themes:

Any theme can be updated to support Shopify Scripts, and the most recent release of the Timber framework supports them.

Several new Liquid objects and attributes are available to scripts.

In this section

Creating and using scripts in Script Editor Creating and using scripts in your Shopify store.
Example scripts Some examples of scripts that can be created with the Script Editor app.
Script limitations Although scripts are flexible, they do have some limitations.
Liquid objects for scripts Scripts exposes a number of new objects in Liquid.
Updating your Liquid templates for Scripts An example of how to modify your Liquid template files to take advantage of new features of Scripts.

Want to discuss this page?

Visit the Shopify Community

Ready to start selling online with Shopify?

Try it free