New custom field in product details and localization

6 months ago
Hi
I have added a new custom field in product details (a kind of technical characteristic)
The value of that field is saved in the "standard" version but it is not saved in the localized ones.
What did I forget?

Thanks ;)

Claudio
6 months ago
Localisation have separate code for that.

You have to look at product post method.

They did code for other fields.
6 months ago
sk5202 wrote:
Localisation have separate code for that.

You have to look at product post method.

They did code for other fields.



Thank you

I edited ProductModelFactory in Admin area adding the following for the custom field

locale.Characteristic = _localizationService.GetLocalized(product, entity => entity.Characteristic, languageId, false, false);
                

Now it's all ok ;)