I’m building a sponsorship system for a Wix Studio eCommerce site using Velo and Kickflip.
I already have:
- Custom Discount Trigger service plugin
- Sponsorship CMS
- Usage tracking
I can determine whether a customer is eligible and exactly how many complimentary strings they have remaining.
My business rule is:
- Sponsor has 2 complimentary strings remaining.
- Cart contains 3 qualifying string products.
- First 2 strings should receive a 100% discount.
- Third string should remain full price.
Kickflip has confirmed their products use the normal Wix cart and checkout flow and that Automatic Discounts are the recommended integration point.
My question:
Is there any supported Wix eCommerce extension point that allows custom business logic to control the number of qualifying line items that receive an automatic discount?
If not, what is the recommended architecture for implementing annual product entitlements?