Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Request: Warenkorb pricewatch #121

Open
consier opened this issue Jun 29, 2023 · 7 comments
Open

Request: Warenkorb pricewatch #121

consier opened this issue Jun 29, 2023 · 7 comments

Comments

@consier
Copy link

consier commented Jun 29, 2023

I do not have the means to implement something like this, but I would like to suggest a feature:

The shopping baskets themselves are interesting as an analysis tool. However, to make them useful in everyday life, it would be exciting if the noted products could be checked for their prices and then sorted according to 2 or more previously set supermarket-favourites. This way, one could save a weekly shopping list as a basket and shortly before shopping, check which combination of supermarkets would result in the most savings. Often, supermarkets of different chains - especially in urban areas - are located in close proximity to each other.

@badlogic
Copy link
Owner

If I understand correctly, you want this:

You have a basket like this:

Screenshot 2023-06-29 at 17 40 54

On a given day, you want to see which combination yields the lowest total price, e.g. for today, it would be any of the stores for Coca Cola Light, and Billa or Spar but not MPREIS for Red Bull.

I'm not sure how to create a user interface for that that makes it not tedious. We can not tell which products in the basket are the same purely by name, as those may differ. So the user would have to somehow mark them and say "this is a group to pick from". In the above example the first 3 items are a group, and the next 3 items are a group.

Maybe someone has an idea how to make this not suck UX wise.

@badlogic
Copy link
Owner

badlogic commented Jun 29, 2023

Hm, maybe just marking the start of a group would do? Then you'd check a "group start" checkbox on the first Coca Cola Light, and another "group start" checkbox on the first Red Bull Energy Drink. A group then starts at the item that has its "group start" checkbox checked and includes all the items until the next item with the "group start" checkbox checked.

Still a bit tedious, but simple enough to implement and understand.

With those groups in place, we could then have a little button at the top of the list that presents you a new list with the cheapest items from each group today. And if today you are only interested in a subset of stores, you just check those in the filter UI. No need for a price watch.

@consier
Copy link
Author

consier commented Jun 29, 2023

With those groups in place, we could then have a little button at the top of the list that presents you a new list with the cheapest items from each group today.

Either this or the grouped items would just fold in with only the cheapest option remaining visible. In case there is no single cheapest option, the shop with the most items that rank cheapest altogether would be selected. This would also group the shopping cart to get as many items as possible from a single shop, reflecting real-life shopping, in my opinion.

For this to make sense, it would also be necessary to be able to sort the list by shop. Additionally, it would be nice to have Subtotal Sums for every store and a Total, as well as the amount of savings.

@iantsch
Copy link
Contributor

iantsch commented Jun 29, 2023

I'm more the fuck around to find out guy. Will do a PoC with the considerations of @consier and @badlogic

  • Meta-Items, containing other items (stored in the cart), UI to fill will be either as listed or what seems reasonable.
  • Chart to show price per store or
  • view option to list items grouped by store with their individual chart.

@iantsch
Copy link
Contributor

iantsch commented Jul 2, 2023

meta-item PoC

Default (name of cheapest product)
image

With custom name
image

Details toggled (via attribute details)
image

  • - button will allow to remove item
  • 🔤 button will allow to rename the product, otherwise it will take the name of the cheapest
  • ✨ button will add that item to the currently open meta item

Current logic is completely encapsulated in custom element meta-item

@consier
Copy link
Author

consier commented Jul 2, 2023

This looks really promising!

I think it would make sense to indicate more clearly whether something is a meta-item or not. Maybe putting the store into brackets would do the trick, like [MPREIS] or [MPREIS](3). In that case, the ✨ button could be replaced by [+].

@iantsch
Copy link
Contributor

iantsch commented Jul 3, 2023

They will be rendered inside the cart only and should behave like a default cart item IMHO.

  • So filters should apply, only that they point to an item according to the rendering (cheapest product or cheapest store overall)
  • render the price history within the meta-product too
  • possibility to merge meta item into individual cart items

Additionally I'll work on cart sums (and sums by store)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants