Add new budget cart.

This commit is contained in:
Mario Zechner 2023-06-26 02:51:15 +02:00
parent ebca44dc4e
commit 496a40d852
3 changed files with 19579 additions and 596 deletions

File diff suppressed because it is too large Load Diff

19466
site/data/budget-cart.json Normal file

File diff suppressed because it is too large Load Diff

View File

@ -27,6 +27,11 @@ class Carts extends Model {
carts.unshift(billaSparCart);
}
if (!carts.some((cart) => cart.name == "Diskont-Marken Produkte Billa/Spar")) {
const budgetCart = await misc.fetchJSON("data/budget-cart.json");
carts.unshift(budgetCart);
}
// Update items in cart to their latest version.
for (const cart of carts) {
const items = [];