Automatically applying “Buy X Get Y” with partial discount in Customer Portal

Cleverific’s Customer Portal supports Shopify’s automatic Buy X Get Y discounts, where customers receive a discounted item (not free) after purchasing a required quantity of eligible products.

For example:

“Buy 2 eligible items, get $10 off a specific product.”

No maximum uses per order.

Note: If you are interested in this feature, feel free to reach out at support@cleverific.com, and we'll enable it for you!

How the Buy X Get Y (Partial Discount) works in Customer Portal

You can find below the expected behavior for different scenarios and edits made in Customer Portal.

Scenario What happens
Customer keeps at least 2 qualifying items in the order The $5 discount remains applied to the discounted item.
Customer reduces quantity of eligible Buy items below 2 The discount is removed from the Get item.
Customer increases quantity of eligible Buy items to a multiple of 2 Additional discounts apply, one for every 2 qualifying Buy items.
Customer adds more Get items than there are discounts available Only the first n eligible Get items receive the discount. The rest remain full price.
Customer adds non-eligible items No change. Discounts apply only to eligible Buy and Get items.
Customer removes the discounted Get item The discount is removed, and totals are recalculated automatically.
Discount is scheduled for a future date The discount won’t apply until it becomes active in Shopify.
Other active discounts apply to the order The Buy X Get Y discount works alongside product discounts only. If multiple discounts are active, Shopify determines which to prioritize.

Setup

Grant permissions

To authorize Cleverific to read your discounts' setup, you need to grant permissions to do so. You can click the Grant Permissions button in your Customer Portal settings, under the BXGY Discounts section:

Clear cache

Cleverific caches Shopify’s Buy X Get Y discounts, and this cache automatically refreshes once per hour. If you make changes to a discount in Shopify (for example, swapping products or updating settings), those updates might not appear immediately in Cleverific. If you’d like the changes to apply right away, you can clear the cache by clicking the Clear Cache button in your Customer Portal settings, under the BXGY Discounts section:

Key limitations and considerations

  • Products listed under “Customer gets” should have a price higher than the discount amount, since the behavior changes if the discount fully covers the product’s price (100% off).
  • Shopify splits product lines when applying a Buy X Get Y discount, so quantity changes often result in lines merging or splitting.

If any questions come up during your testing, please don’t hesitate to reach out to support@cleverific.com.