To simplify the setup process, automatic scripts are available for certain Rebuy features such as Buy More Save More (BMSM) and the Tiered Progress Bar (TPB), which can be copied and pasted into your Shopify Plus script editor.
First things first is you will need to set up the features that use the scripts.
Adding Discount Script to Shopify Script Editor
To access the Script editor app, log in to your Shopify Store and either navigate to it or install it first and then navigate to it. Once you are in the app, select "create script," choose "blank script," and then create the script as shown in the example below:
After creating your title, click on "code" and remove any existing code, as shown in the screenshot below. This is because the code you copied from the Rebuy Admin script builder already includes it.
After that, you will paste the code you copied from Rebuy Admin Smart Cart settings.
To complete the process, check for errors in your script within the script editor. If there are no errors, you can save and publish the script to production, which will replace any existing scripts and apply the new code.
If you have more questions, please reach out to support!