New custom field in product details and localization

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
4 years 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
4 years ago
Localisation have separate code for that.

You have to look at product post method.

They did code for other fields.
4 years 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 ;)
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.