villagedefrance / OpenCart-Overclocked

OpenCart Overclocked Edition. Advanced Shopping Cart CMS based on OC v1.5.6.X source code.
https://villagedefrance.net
Other
31 stars 22 forks source link

Abandoned Carts Issue #172

Closed Tangol closed 6 years ago

Tangol commented 6 years ago

I've noticed that when you click on the View abandoned cart button, it takes you to the Order Details page. However, the abandoned cart is not really an order.

I'm getting the logic of this, as the customer may email/call the support team and ask them to go ahead with the order on his behalf, so it's easier to just process it from there.

Also, I'm a bit worried about the order IDs from the abandoned carts and the ones from the real orders, conflicting. Is there any separation between them and can you please elaborate on how the system works?

Tested on https://github.com/villagedefrance/OpenCart-Overclocked/commit/fbacaa2a81a5711f7005b13b54896d9bb77d8992

villagedefrance commented 6 years ago

I've just made an update on this. Now, regarding the email counter, I don't see that as necessary since only 1 single email should be sent anyway, with only 2 possible outcomes: First, the customer wants to recover the order. Second, the customer does not want the order, then in this case, the abandoned order should be deleted. My latest updates should make the whole process much clearer now.

Tangol commented 6 years ago

The new system works fine, with one exception: after you recover the order, the cart doesn't get updated in the front end and the products still remain there.

villagedefrance commented 6 years ago

I have been thinking about this and also tried a few things, but I came to the conclusion that the front end Cart should not be cleared. And this is why:

What do you think?

Tangol commented 6 years ago

I agree with all your points, however in my report, I was referring to only one issue, and that is the clearing of the Cart when the order is being recovered by the the Admin at the customer's request.

For example, we have the following instance:

Right now after the order recovery, the cart doesn't get cleared, and if the customer visits the site again, he will get confused to whether or not the order was placed at his request.

So I think we should find a way to clear the Cart only when the order gets recovered by the admin.

Also, if the customer calls back, it would be nice if we could search the abandoned carts, using his name. This is very important for large stores, that have dozens of abandoned carts.

PS: By order recovery I mean:

Hope it makes sense.

villagedefrance commented 6 years ago

I understood that the first time but like I said before we are talking about Sessions for this matter, and because of the nature of Sessions, we can't really do that safely from Admin without consequences.

The best solution here, if not clearing the Cart is really an issue for some users, is to login as the customer through the Customer's List under Admin, therefore open a new customer session, and clear its Cart manually this way, removing only what needs to be removed. Any other way should be considered unreliable.

Tangol commented 6 years ago

Everything is clear now. I have nothing else to add, except the minor suggestion above:

Also, if the customer calls back, it would be nice if we could search the abandoned carts, using his name. This is very important for large stores, that have dozens of abandoned carts.

As far as I'm concerned, the issue can be closed. Thanks!

Tangol commented 6 years ago

Works fine now. Can be closed.

Thanks!