Try our conversational search powered by Generative AI!

How to change a commerce property from CultureSpecific to non CultureSpecific

Vote:
 

Hi guys, 

I have created a property "ImageMedium" in my Catgory,

[Searchable]
[Tokenize]
[IncludeInDefaultSearch]
[Display(Order = 2000)]
[CultureSpecific]
public virtual Url ImageMedium { get; set; }

and I would like to remove the [CultureSpecific]. After i removed the it, the site came the following error.

The property 'ImageMedium' was found on multiple content types, but with different CultureSpecific attribute values. 

I tried to go into Administration > Meta Fields and uncheck the "Supports Multiple Languages". It seems nothing happened.

Any tips?

Thanks, 

ChiChing

#197586
Oct 08, 2018 17:56
Vote:
 

It looks like the property is shared between multiple content types. Make sure that you remove all [CultureSpecific] attribute on that property on all classes

#197597
Oct 08, 2018 20:13
Vote:
 

Yes, is true. In Product has also a imageMedium. It seems both Product and Category share the imageMedium metadata field. 

I will create a new property without CultureSpecific instead.

Thanks Quan! 

#197715
Oct 11, 2018 8:17
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.