Items can be marked with their own tags under "Further data". You can then search for these tags on the shopping or pantry list. The options for filtering can be found directly next to the "+" button on the corresponding page.