Oh. Sorry I thought the result from the program.
Say I have 9 paths,
path1 - for apple, plastic bag (blocks inside path are a1, a2,...a7)
path2 - for apple, paper bag (blocks inside path are b1, b2,...b7)
path3 - for apple, No need (blocks inside path are c1, c2,...c7)
path4 - for orange, plastic bag (blocks inside path are d1, d2,...d7)
path5 - for orange, paper bag (blocks inside path are e1, e2,...e7)
path6 - for orange, No need (blocks inside path are f1, f2,...f7)
path7 - for strawberry, plastic bag (blocks inside path are g1, g2,...g7)
path8 - for strawberry, paper bag (blocks inside path are h1, h2,...h7)
path9 - for strawberry, No need (blocks inside path are i1, i2,...i7)
where,
a1 to a7, b2 to b7,...i1 to i7 corresponds the quantity
When I select strawberry, No need and choose 1 quantiy, the block that will be inserted is i1.
When I select orange, plastic bag and choose 4 quantites, the block that will be inserted is d4.
Thank you in advance @pbejse .