How to create a Rebuy Bundle widget.
Please use the link below to assist you in creating your Rebuy Bundle widget.
Leveraging the Shopify Script Creator.
Now that you've created your Bundle widget, you need to set up the discounting logic.
This link will guide you on the general overview of how Scripts can work, how to access the Shopify Script creator and how to link a Rebuy widget to that script.
Configuring the Script to be conditionally based on the number of bundle items in the cart.
Simply match your settings to the image below!
Cart Qualifier - Cart Has Items
Quantity or subtotal - Item quantity count
Match condition - Greater than or equal to
Amount - XX - number of bundle items required for the discount to run
Item Selector - Has Properties
Key - _widget_id - ensure you copy this exactly
Value - XXXXX - add your specific widget ID
These settings will configure the Script to track the bundle items from this specific widget and automatically add / remove the discount as long as the required number of bundle items are in the cart.
Testing to confirm the Script is functioning correctly
After you've created and published your Script. It's now time to test this yourself.
With your widget in preview mode (so customers don't see it while you test) add the bundle items to the cart. They should all be discounted via the Script. Now remove one or more items (based on your Script settings) and the discount should remove itself automatically.
Bundle widget items are visually discounted 50% via the widget settings.
All bundle items in the cart are discounted 50% via the Script.
Bundle items in cart are now full price after removing items to break the bundle.