cancel
Showing results for 
Search instead for 
Did you mean: 

ECO 5.0 CRM Quicksearch Attributes

Former Member
0 Kudos

hi,

I want to add additional Quicksearch attributes to my catalog (ECO 5.0 for CRM and TREX 7.1). Where do I have to configure the additional attributes. I saw during debugging that the catalogengine loads a XML file for configuration but I do not know where to find the file.

Regards

Michael

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

Yes, you have to modify this class only.

CatalogFilterFactory fact = CatalogFilterFactory.getInstance();

IQueryStatement queryStmt = theCatalog.getCatalog().createQueryStatement();

IFilter attr = fact.createAttrEqualValue("OBJECT_ID", "VALUE");

IFilter zattr = fact.createAttrFuzzyValue("Z_Attribute", "ZVALUE");

IFilter expression = fact.createAnd(attr,zattr);

queryStmt.setStatement(expression, null, null);

Just follow the above code to add new attribute to search for the statement.

Regards,

Sateesh Chandra

Former Member
0 Kudos

hi,

do you know, which attributes are used in the standard quicksearch?

Regards

Michael

Former Member
0 Kudos

Product ID and Product Name are the standard atrributes in Quick Search.

The logic is PRODUCT ID eq <quicksearchstring> or PRODUCT NAME cs <quicksearchstring>.

The product name search is clumsy simple CS substring logic with out any embedded wildcard. The search is case insensitive.

I have not tested the Product ID containing special characters or alpha. The quick search

Easwar Ram

http://www.parxlns.com

Former Member
0 Kudos

Hi,

Do you mean the Z attributes in B2B?.

These attributes are added automatically when ever you create them and add it to the product.

But for quick search you can even add them manually, and you need to change Java class also.

Regards,

Sateesh Chandra

Former Member
0 Kudos

hi,

in standard the quicksearch only uses the attributes object_id and the productname but we have added an additional attribute (technical type) and now we want to use also this attribute in the quicksearch.

Which java class do I have to change? Do you mean the CatalogSearchAction?

Regards

Michael