Dear Bindu,
Sorry, Classification is not the solution for your use case.
Guess, rather than capturing the products in the syntax below
s.products = "Category1;Product1;;;;eVar14=Value1|eVar17=Value1,Category2;Product2;;;;eVar14=Value2|eVar17=Value2,Category3;Product3;;;;eVar14=Value3|eVar17=Value3,"...