Skip to main content
All CollectionsTroubleshootingGift with Purchase
Free Gifts: Troubleshooting & FAQs
Free Gifts: Troubleshooting & FAQs

This article will guide you on troubleshooting common issues that may be impacting your free gift products in the Smart Cart and Widgets.

Keri Medeiros avatar
Written by Keri Medeiros
Updated over a month ago

Experiencing an issue where your free gift product is being shown at full price? Or customers are able to add multiple quantities of a free gift to cart? Look no further, as the below guide will help point you in the right direction for troubleshooting! 🎁 πŸ›’


1.) Ensure you have enabled the discounting logic

It is crucial to configure the discounting logic before launching your free gift product in a Rebuy widget or Smart Cart to ensure customers will not be charged full price for a gift. Refer to the below recommended Shopify Discounting options that are available for your shop, depending on your Shopify Plan and current Smart Cart version.

DISCOUNTING OPTION 1: SHOPIFY FUNCTIONS

NOTE: This option requires upgrading to the new Smart Cart (v2) and is only compatible with the Smart Cart's Tiered Progress Bar at this time. Shopify Functions are NOT supported for legacy Smart Carts and Rebuy widgets at this time.

Shopify Functions for Tiered Progress Bar discounting is available to all merchants on any type of Shopify plan πŸ™Œ !

To create a Shopify Functions discount your Tiered Progress Bar, use the below guide:

DISCOUNTING OPTION 2: SHOPIFY SCRIPTS

This option requires a Shopify Plus plan and access to the Shopify Script Editor app.

It is compatible with the Smart Cart's Tiered Progress Bar, as well as Rebuy's Gift With Purchase widget, general Product Page widget types, and Checkout Extensions widgets.

For a Gift With Purchase widget, use the below guide:

For the Smart Cart's Tiered Progress Bar, use the below guide:

If you do not have access to Shopify Scripts, proceed to using Options 3 or 4 below.

DISCOUNTING OPTION 3: SHOPIFY AUTOMATIC DISCOUNTS

This option is recommended for merchants who do not have access to Shopify Scripts.

It is compatible with Rebuy's Gift With Purchase widget, Tiered Progress Bar, and general Product Page widget types, as well as Checkout Extensions widgets.

To create an Automatic Discount, refer to Shopify's guide below:

While we recommend using our guides as a helpful reference, Shopify Scripts and Automatic Discounts are not Rebuy products, and unfortunately, Rebuy Support is unable to create, modify, or customize Scripts and/or Automatic Discounts to align with your specific needs.

If you encounter challenges with your Automatic Discounts and 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.

DISCOUNTING OPTION 4: CREATE A DUPLICATE $0 HIDDEN PRODUCT

This option is recommended for merchants who do not have access to Shopify Scripts and are also are unable to create an Automatic Discount for their specific use-case.

It is compatible with the Smart Cart's Tiered Progress Bar, as well as Rebuy's Gift With Purchase widget, general Product Page widget types, and Checkout Extensions widgets.

Refer to the guide below to set up a $0 duplicate hidden product for the free gift:

When using this option, be sure to perform a thorough QA check throughout your site to ensure that the $0 hidden gift product is not discoverable to customers.

However, if you wish to keep the Product Page page active for the $0 gift product, please follow the steps linked below:


2.) Disable the Shopify "/Cart" page in Smart Cart settings

If you are using the Rebuy Smart Cart, it is recommended to disable your Shopify theme's "/Cart" page, as this page can cause complications with Rebuy's free gift features, such as customers having the ability to increment the free gift line item count or free gift products being shown in the cart at full price when the customer drops below the tiered bar's free gift subtotal threshold.

The Rebuy application also does not have control over the Shopify theme's "/Cart" page, so Smart Cart features (including any custom code) will not run on this page. For example, when a customer drops below the tiered bar's free gift subtotal threshold on this page, the free gift will not be automatically removed (as it would in the Smart Cart).

To disable the Shopify "/Cart" page within your Rebuy Admin, navigate to the Smart Cart settings and ensure the "use cart page" is toggled OFF.

NOTE: The Rebuy application must fully load in the browser before the Smart Cart will take over as the Shopify theme's primary cart, otherwise the theme will default to using its native cart option (which may be a drawer, Shopify cart page, etc.)


3.) 3rd Party Discounting app interference

At this time, Rebuy is not integrated with any 3rd party discounting apps and is only integrated with Shopify for discounting. Generally, 3rd party discounting apps are not natively compatible with the Rebuy Smart Cart and may cause problems with the Rebuy Smart Cart and Widgets.

NOTICE: Rebuy support services encompass all aspects directly associated with Rebuy, providing assistance and guidance for features and functionalities within the standard Rebuy package. However, please note that we cannot provide support for third-party apps, plugins, or customizations beyond the scope of Rebuy. For additional details on our support scope, please consult our policy page. Your understanding is greatly appreciated.


4.) Common Shopify Script errors and Functions errors

If you are seeing errors for your Shopify Script or Functions within your Shopify Admin such as 'MemoryQuotaExceeded' or 'InstructionCountLimitExceededError', rest assured these errors are often no cause for alarm.

Scripts and Functions have a memory limit (as defined by Shopify), therefore if your Script and/or Function exceeds Shopify's defined memory limit, these errors will be triggered. For example, these errors can be easily triggered for carts with over 400 line items, as well as by bots spamming the shop and attempting to checkout.

Our recommendation is to always test the functionality of your Script and/or Function discount to verify it is working correctly on the Shopify Checkout page. If the discounting is working correctly, no action is required.

NOTE: Because Shopify Scripts and Shopify Functions are not Rebuy products, removing Scripts and Functions errors cannot be managed or controlled by Rebuy.


FAQs

How do I set up a free gift for a Tapcart GWP widget?

Why are my Discounts not combining?

  • By default, the Rebuy Tiered Progress Bar's Shopify Functions discount setting for v2 Smart Carts will automatically be set to combine (this cannot be overridden). For all other Discount types, Rebuy does not have control over the combination settings (as this is managed by the Shopify application). We recommend consulting Shopify's help documentation and reaching out to Shopify Support for assistance with combinations for Discounts configured in Shopify Admin.

Why is my Selectable Gift With Purchase widget adding multiple free gifts to cart?

  • The "Selectable Gift With Purchase" widget is not a standard Rebuy widget (it is a customized version of a Cart Cross-sell widget), therefore additional custom code is required to ensure proper functionality. Refer to our on guide on custom implementation for this widget type: Selectable Gift-With-Purchase Widgets

Can I use Shopify Functions for discounting in Rebuy Widgets and the Smart Cart?

  • At this time, Shopify Functions for discounting is only supported for Smart Cart v2 Tiered Progress bar promotions. Legacy Smart Carts and other widget types are not supported. We recommend signing up for our Product Newsletter here to stay up to date on all upcoming Rebuy product feature releases and for more information on when Functions for discounting will become available for other Rebuy features such as Buy More Save More, Dynamic Bundle widgets, and GWP widgets.

Did this answer your question?