Skip to main content

How to edit the script in script editor

Navigate to https://bellabliss1.myshopify.com/admin

Click APPS - go to Script Editor

Click Line Items

Click NEW DISCOUNTING SCRIPT

Click the CODE button

Edit the following details in the code editor.

  • Discount Percentage - must be a number
  • Allowed Discounts - should be a comma separated list of discount codes; make sure this value is wrapped in double quotes as shown below
  • Discount Message - make sure this value is wrapped in double quotes as shown below
  • Discount Rejection Message- make sure this value is wrapped in double quotes as shown below

Click Run Script to verify that the script functions correctly

Then click Save Draft

Once ready to publish this script, you can click save and publish in the bottom right corner