Allow Order Discount Function to combine with other coupons via parameters #363
EtienneGELAS
started this conversation in
Feedback: Discounts APIs
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Summary
Shopify's stacking discount codes feature lacks compatibility with apps that auto-generate discounts, such as Klaviyo, making bulk coupon combinations challenging.
Details
Illustrative Use Case
Consider a Shopify Plus merchant with a cart-level progress bar detailing different spending thresholds that grant specific percentage discounts. Earlier, these were facilitated using scripts that operated externally to the primary discount engine. This meant, upon checkout, any coupon could be combined since script discounts weren't treated as discount codes. Consequently, a customer spending a certain amount could avail of a specific percentage discount in addition to another coupon code (e.g., an influencer code).
With the transition to functions, all such discounts are now processed via the primary discount engine. If a merchant implements a function-based discount (e.g., X% off for spending Y$), this won't stack with other codes by default. This forces the merchant to manually modify all existing active coupons to sync with the function-based discount. Furthermore, auto-generated coupons (like those from Klaviyo) presently don't support combinable discount creation by default. This imposes a continuous manual adjustment burden on the merchant every time a new batch of codes is generated.
The most pressing issue arises when merchants allow all app-generated coupons (or other preexisting coupons) to stack with a function-based order discount. This inadvertently makes all individual coupons stackable. This can potentially allow a buyer to combine an auto discount from functions, a Klaviyo coupon, and an unlimited number of other coupons (like influencer codes).
Suggested Solution:
A potential solution to this issue would be to introduce a parameter or setting in Shopify functions that allows auto-generated discounts to be stacked with pre-existing store coupons, but prevents individual pre-existing coupons from stacking with each other.
Beta Was this translation helpful? Give feedback.
All reactions