Joplin doesn’t come close to what a shopping list app needs to do, not without a LOT of work.
Even then I don’t think it can.
For example, take a look at Anylist. There’s also a self-host able app (who’s name I forget) Grocy - both of these utilize a database to give you extensive data capture capability.