Developer forum

Forum » Development » eCom Product: Name for custom fields in index

eCom Product: Name for custom fields in index

Anders Ebdrup
Reply

Hi,

 

What is the best way to query the product index as custom fields seems to be renamed: e.g. productfield_field22, productfield_field9, productfield_field37.


The value is taken from this table: EcomProductField, but what is the recommended way to query these fields? Should I make a look up in this table for every custom field before doing a:

new Criteria("MyField", base.Request("myField"))

 

For me it would have made more sense to name it "productfield_[SystemName]" or just "[SystemName]".

 

Best regards, Anders


Replies

 
Anders Ebdrup
Reply

Have anybody tried to work with these custom fields in the index? And have any experience if a field is deleted an then recreated?

Best regards, Anders

 

You must be logged in to post in the forum