Get related products by attributes.