November Happy Hour will be moved to Thursday December 5th.

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

Vote:
 

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

#179843
Jun 22, 2017 21:38
Vote:
 

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?

#179932
Jun 26, 2017 14:50
Vote:
 

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!

#179933
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.