Try our conversational search powered by Generative AI!

How to hide the "Redemption Limits" section on Promotion UI?


I'd like to hide the "Redemption Limits" section on my custom Promotion UIs (they inherit from PromotionData).  Is it possible?

Jun 22, 2017 21:38

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?

Jun 26, 2017 14:50

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!

Jun 26, 2017 14:55
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.