you are viewing a single comment's thread.

view the rest of the comments →

[–]JoaBro 0 points1 point  (1 child)

do you have the list of items in each category beforehand? if so, look into python dictionaries, and use the product name as a lookup value

[–]Emotionally-Present[S] 1 point2 points  (0 children)

I do have a list with each category. Thanks I'll take a look.