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

can't seem to exclude items from a promotion v13

Vote:
 

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

The property ExcludedCatalogItems is read-only

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.

#248705
Feb 16, 2021 10:23
Vote:
 

DId you create a writeable clone for the promotion first? something like

var writeable = promotion.CreateWriteableClone<PromotionData>();

writeable.ExcludedCatalogItems = ...;

//save

#248706
Feb 16, 2021 10:46
Vote:
 

that was it. thank you. happy belated new year

#248707
Feb 16, 2021 11:04
This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.
* 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.