This article will walk you through some scenarios on how to build out discounting in the Shopify Script Editor for your Dynamic Bundles. For more information on the Script Editor you can check out our documentation on it here.
NOTE: Shopify Plus is required to make use of Shopify Scripts. As of February 13, 2023 Shopify announced that Shopify Scripts will be deprecated on August 28, 2025 and they will be moving to functions. They have since removed the Script Editor application from the Shopify app store.
Shopify Scripts is not a Rebuy product, and unfortunately, Rebuy Support is unable to create, modify, or customize Scripts to align with your specific needs.
We recommend using our guides as a helpful reference for any Script customizations you'd like to implement. If you encounter challenges with your custom scripts, we suggest reaching out to Shopify support for assistance. For additional details on our support scope, please consult our policy page. Your understanding is greatly appreciated.
Setting up conditional discount campaigns
This guide provides an overview of creating dynamic bundle discounts in Shopify using the Shopify Script Creator. The video tutorial demonstrates how to set up a discount that applies only when customers have a specific number of designated products in their cart. If the quantity falls below the required threshold, the discount is automatically removed.
The process involves defining a dynamic bundle and configuring a discount using the Shopify Script Creator, a tool available on GitHub. The campaign setup includes specifying cart qualifiers, such as the number of items required to apply the discount, and the discount details itself. The script is then generated, tested, and implemented within the Shopify Script Editor to ensure it functions correctly.
This tutorial provides a comprehensive approach to implementing dynamic bundle discounts in Shopify, allowing store owners to create flexible and conditional discount rules to enhance their promotional strategies.
Reject discount codes if items already discounted
This tutorial demonstrates creating a secondary campaign within the script to conditionally reject discount codes if items in the cart are already receiving a discount from the Shopify script. This ensures that discounts are not stacked improperly.
This approach allows store owners to create flexible and conditional discount rules, enhancing their promotional strategies and maintaining control over discount applications.
Exporting campaigns for saving and sharing
The tutorial highlights the ability to export and import campaigns within the script editor. This feature allows you to save your campaigns as text files, which can be re-imported later. This is particularly useful if you need to reset your settings or transfer your configurations to another account, providing a seamless way to manage multiple campaigns without rebuilding them from scratch.
Want to learn more about our strategies for Rebuy? Subscribe to our Youtube channel to stay up to date and get tips and tricks from our pros!