---

CollapseMetaTable: yes
Groceries: ["๐Ÿถ 6 bottle(s) Coke 0","๐Ÿฟ  whole Snacks","๐Ÿงˆ 2 packet(s) Beurre","๐Ÿซ’  bottle(s) Olive oil","๐Ÿบ  bottle(s) Beers","๐Ÿฅฏ  packet(s) Bagels","๐Ÿฏ  jar(s) Bonne Maman","๐ŸŒ  whole Bananas","๐Ÿง€  packet(s) Fromage rape","๐Ÿฅฉ  packet(s) Cured meat","๐Ÿ 4 whole Fruit","๐Ÿ  packet(s) Pasta","๐ŸŒถ๏ธ  bottle(s) Tabasco"]
Health: ["๐Ÿšฟ 1 whole shower gel","๐Ÿงด  whole shampoo","๐Ÿชฅ  whole toothbrush","๐Ÿฆท  whole toothpaste","๐Ÿ‘‚ 1 whole earbuds","๐Ÿช’  whole razor blades (mach3)","๐Ÿฆ  whole shaving cream","๐Ÿงป 1 whole loo rolls","๐Ÿฆจ  whole deo"]
Household: ["๐Ÿ‘”  whole Washing gel","๐Ÿงป  whole Kitchen towel","๐Ÿงฝ 2 whole Sponge","๐Ÿ‘•  bottle(s) Softener","๐Ÿฝ๏ธ  packet(s) Dishwasher tablets", "๐Ÿง‚ 1 bag(s) Dishwasher salt","๐Ÿšฐ  bottle(s) Dishwasher rinsing aid"]

---

parent:: [[@@Life Organisation|Life Orga]]

---

 

```button
name Save
type command
action Save current file
id Save
```
^button-ShoppingListSave

 

# Shopping list

 

```ad-abstract
title: Summary
collapse: open
Shopping list management.
```

 

```toc
style: number
```

 

---

 

### Groceries

 

```dataviewjs
dv.view("00.01 Admin/dv-views/print_shoppingitems", { items: dv.current().Groceries})
```

 

---

 

### Health

 

```dataviewjs
dv.view("00.01 Admin/dv-views/print_shoppingitems", { items: dv.current().Health})
```

 

---

 

### Household

 

```dataviewjs
dv.view("00.01 Admin/dv-views/print_shoppingitems", { items: dv.current().Household})
```

 

### Buttons

 

#### Reset

 

```dataviewjs
const {shoppingFunc} = customJS
shoppingFunc.resetList({ app: app, dv: dv, that:this, theme: "to0", listOfIt: "Groceries" }) 
```

 

```dataviewjs
const {shoppingFunc} = customJS
shoppingFunc.resetList({ app: app, dv: dv, that:this, theme: "to0", listOfIt: "Health" })
```

 

```dataviewjs
const {shoppingFunc} = customJS
shoppingFunc.resetList({ app: app, dv: dv, that:this, theme: "to0", listOfIt: "Household" }) 
```