Powerful new features, services and plugins for your Shopify store

All Apps / Sales / Script Editor

Script Editor

Script Editor

Developed by Shopify

13 reviews
Price: Free More info
  • Create custom and automatic discounts with Shopify Scripts
  • Run promotions without using discount codes
  • Get started easily by using our templates, like bulk discounts

Script Editor allows Shopify Plus merchants to write scripts written in Ruby that allow you to create personalized customer experiences. Using line item, shipping, and payment scripts you can implement changes to a cart or checkout based on its items and properties.

Note that a Shopify Plus plan is a requirement to use this app.

Scripts are enabled on a store’s checkout by using the Script Editor app. Since the app hosts scripts you’ve created on Shopify’s servers, they can affect the cart and checkout at a fundamental level without the need of third-party apps or externally hosted plugins.

There are three different types of Shopify Scripts:

  1. Line item scripts affect line items in the cart and can change prices and grant discounts. Note: Theme modifications may be required to show the discount amount or messages in the cart and/or checkout.

  2. Shipping scripts interact with shipping, and can rename, show, hide, or reorder shipping methods and grant discounts on shipping rates.

  3. Payment scripts interact with payments, and can rename, show, hide, or reorder payment gateways.

Write a Shopify Script based on our provided templates, follow our documentation to build your own, or use a script creator solution to get started. Some examples include:

Line item scripts

  • Percentage (%) or fixed ($) discounts, or a combination of both

  • BOGO discounts with simple or complex logic (buy one get one free, buy two get 10% off, buy four get 20% off)

  • Dynamic pricing for volume-based price breaks

  • Tiered discounts by spending thresholds (quantity or dollar based)

  • Disallow discount codes during a promotionv
  • Calculate Value-Added Tax (VAT) for European shoppers

Shipping scripts

  • Modify, hide, or reorder shipping method names and prices

  • Free shipping for VIP or subscription customers

Payment scripts

  • Modify, hide, or reorder payment gateway methods

  • Auto select default payment method

Script Editor features:

  • Write scripts based off provided templates.

  • Access script examples in Github.

  • Test your scripts on a preview cart before running a live sale.

  • Preview your script on your online store.

  • Quickly publish and unpublish sales with just one click.

  • Completely scalable, combine and stack promotions in one script.

View the Help Center documentation, example scripts in Github, and the Shopify Scripts Demo Store.

Script Editor reviews

13 reviews
  1. 5 stars (5 reviews)
  2. 4 stars (2 reviews)
  3. 3 stars (0 reviews)
  4. 2 stars (1 review)
  5. 1 star (5 reviews)

I am a shopify plus member and you can only run 1 script at a time. You also are not allowed to use time or date functions in ruby. This is good for Small stores, but not available to them. very sad.


Great work with this app for conditional checkout.
I placed a code for prevent placing order with some conditions and it works.

Hope they can provide to write code in PHP language as well.
Right now you have to write code in Ruby!!


This app works excellent. Thank you for creating it!


Great app!! Everything I've always wanted to do with my store got a lot simpler. I hired a dev but it all took less than an hour with this app and the script examples Shopify provides!


only for shopify plus.... if you don't have plus, look else where


I did a test and it worked perfect. We are trying to avoid scripts but see the value as we scale up and have more complex needs for shipping, pricing and discounts.


wish this was available for everyone not just the big stores


Great app that allows us to have both our wholesale and retail customers on the one store front!


Very good App and can help a lot in your store but there is a bug: you can only run 1 script at a time and that is really really bad...
Check out my store here: http://bit.ly/2nJhgyr
I have a lot of script running at a time because I built them...


It has potential. But, this should come out of the box for shopify plus users.
You have to hire a developer to create something for you.
Also, it's limited to 1 script at the time.
Shopify should really work on the Discount Options and Shipping options on their back end so users don't have to spend more money to hire developers. Specially because their Plus plan prices are going up.



Shopify Plus plan

Support & Sales

1 (888) 746 7439
Get Support


  • Large
  • Thumb
  • Thumb
  • Thumb

Are you a developer? Become a Shopify Developer or submit your app.