London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!
AI OnAI Off
London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!
You can set the OrderRedemptionLimit as fixed by adding
[PromotionSettings(FixedRedemptionsPerOrder = 2)]
as an attribute to the implementation of the discount data class.
What's the use case for hiding the other two?
You could probably override the field from PromotionData actually, like such:
public override RedemptionLimitsData RedemptionLimits => new RedemptionLimitsData {PerCustomer = null, PerOrderForm = 1, PerPromotion = null};
Not sure how that is rendered however. Try it out!
I'd like to hide the "Redemption Limits" section on my custom Promotion UIs (they inherit from PromotionData). Is it possible?