Continuing on #99 and #101, I made an extension feature to handle the localization of Attributes.
This is not unlike what was done in O1.10 for ContentPickerFields.
The feature adds the following settings/behaviours related to ProductAttributesPart of Products that also have a LocalizationPart (note: by correct culture, I mean the product's):
On Update, the code will attempt to substitute attributes whose culture is different than the products with corresponding ones whose culture is correct.
(Only available if 1. is active) If an attribute does not have a localization in the correct culture, it is simply deselected. If this option is not active, the attribute will remain selected.
If some selected attribute is not in the correct culture, validation will fail and the Product will not save/publish
Removes all attributes that are not in the correct culture from the Editor view of ProductAttributesPart.
Continuing on #99 and #101, I made an extension feature to handle the localization of Attributes.
This is not unlike what was done in O1.10 for ContentPickerFields.
The feature adds the following settings/behaviours related to
ProductAttributesPart
of Products that also have aLocalizationPart
(note: by correct culture, I mean the product's):ProductAttributesPart
.The PR for this will come momentarily.