Don't miss out Virtual Happy Hour this Friday (April 26).
Try our conversational search powered by Generative AI!
AI OnAI Off
Don't miss out Virtual Happy Hour this Friday (April 26).
DId you create a writeable clone for the promotion first? something like
var writeable = promotion.CreateWriteableClone<PromotionData>();
writeable.ExcludedCatalogItems = ...;
//save
I pulled up the promotionData I want to modify.
I notice the IsReadOnly property is true and I can't add or create the ExcludedCatalogItems List.
I get this error if I try to make a new List
How do I go about adding/modifying the excludedCatalogItems.
How do I go about resolving this? I'm guessing I need to change IsReadOnly to false but unsure how.
thank you.