-
-
Notifications
You must be signed in to change notification settings - Fork 725
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
How does OFN count the number of incomplete orders? #5236
Comments
This number is based on the number of incomplete carts. This quirk is coming up in all kinds of discussions at the moment so I think we might be working on it soon :-) |
👍 |
I want to solve this properly as UK's S3 this round @openfoodfoundation/train-drivers-product-owners We need to define the correct behaviour in order to solve this issue :-) |
I would say that as soon as an item is put in cart, the order should show as incompleted. If the shopper comes back, it would be nice to use the same cart and not open a new one. All the other cases where we open a cart (like when someone is visiting a shop), if we need them for technical reason, let's keep them. But we need to remove them from the list of uncompleted orders? |
Current behaviour is order is in state
We open a cart automatically when someone is visiting a shop?!
That would be nice indeed, but sounds like more complicated. |
@jaycmb are you sure of this? Many of the cart currently opened do not have any items.
More specifically, each time the person is login back in, see the discussion that has generated the issue: https://openfoodnetwork.slack.com/archives/CG7NJ966B/p1586458155387700
I'm not so sure about that. It sounds like Luis mentioned it above ☝️
If the user switch shops he is loosing the cart, I think we should keep this behavior. |
@apricot12 @jibees if one of you picks this s3 up, the only task for now is to do a spike to understand in which cases today we open a cart. From there we will create other issues to remove or add cases where we open a cart. Is the data in this issue useful or should I close it and just open a spike issue? |
Regarding the code, and assuming that an order (ie. a cart) is opened when calling
Saying that, I'm afraid that it is totally useless, because it seems to be called/used a lot. (Next step: try to recreate each step functionally (ie. as a user/admin) that leads to these lines.) I'm wondering if there is an opportunity to log (with a certain level of severity, or a certain tag, or whatever, ...) each time an order is actually created (on |
Yeah, there's lots of places where we create or discard carts for various reasons. I'm not sure we can easily remove them... |
This is really reassuring to me - so all those incomplete orders are not actually abandoned carts. It would be really good to have an understanding of how many of them are (and a way to track that) as that’s a metric I’d like us to be actually focusing on
… On 3 Sep 2021, at 6:49 am, Matt-Yorkley ***@***.***> wrote:
Yeah, there's lots of places where we create or discard carts for various reasons. I'm not sure we can easily remove them...
—
You are receiving this because you are on a team that was mentioned.
Reply to this email directly, view it on GitHub <#5236 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AAWGXSH47CWV6DGYOSBWKBTT77PNLANCNFSM4MIYTETA>.
Triage notifications on the go with GitHub Mobile for iOS <https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675> or Android <https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
I guess that you need to look at carts with items in there and ignore the empty carts because they get created all the time. |
thanks @mkllnk for the suggestion! At delivery train today we decided that as a first step here we would hide uncompleted order with no line items from the user. This should close this s3 for now. @jibees it's all yours! In parallel, we need to work on our metrics like conversion rates, both for our users but also to correctly assess the impact of the new slipt checkout work. |
Description
I have a user with 747 uncompleted orders. He is a bit worried because he never had any real orders. So he is afraid people don't manage to order...
Steps to Reproduce
See uncompleted orders for hub 730 in French production
Animated Gif/Screenshot
Severity
bug-s3: a feature is broken but there is a workaround
Your Environment
The text was updated successfully, but these errors were encountered: