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
-c1349490d60d3b396e619dfb0461ef18.png)
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
-4672ce1b1870695581d7d3c1ea61aed5.png)
Click Run Script to verify that the script functions correctly
-8e095c235e082c66fdda971b0fdaeb38.png)
Then click Save Draft
-c1cd618bbd144ea1d7fd01dfc930abae.png)
Once ready to publish this script, you can click save and publish in the bottom right corner