Now you need to specify where you are searching the material (by name) from (inventory/recipe/shoplist). Don't know if we still need info to material saying which recipe it belongs to :S

Now you can add all the items from shopping list to inventory.