cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Search product by it's classification attribute

0 Likes
498

Hi,

Is it possible to configure advanced search for product so product can be searched by classification attributes?

Hybris version 1808

Thanks, Josip

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member506
Participant
0 Likes

May be you can use Product relation(1:n) with Product Feature for this purpose, based on below.
Try it.

SELECT 
     {p.code}, {pf.qualifier}, {pf.stringValue}
 FROM 
     {ProductFeature as pf 
     JOIN Product as p ON {p.pk}={pf.product}