omarzina / substruct

Automatically exported from code.google.com/p/substruct
0 stars 0 forks source link

Clearing cart while on checkout (shipping) page doesn't clear the order. #114

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Add two items to your cart
2. Go to the checkout page, fill out form
3. On the shipping selection page view the cart popup
4. Clear your cart

What is the expected output? What do you see instead?

This should empty the cart/order and either refresh the page & redirect or
just redirect you to the main store.

Modifying an order from this place should update order as well, or perhaps
we shouldn't make it possible to access the cart from this page.

Original issue reported on code.google.com by subim...@gmail.com on 12 Aug 2008 at 6:58

GoogleCodeExporter commented 9 years ago
I don't know if I understood the problem right. The problem is that its not
refreshing/redirecting to some place? Because if you press the button to choose 
the
shipping type or finish the order the system will warn that the order was not 
placed yet.

Original comment by edmundo...@gmail.com on 15 Aug 2008 at 4:50

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
The problem is the cart and the order objects can get out of sync, and managing 
both
in code is a stupid design decision that I originally came up with.

Original comment by subim...@gmail.com on 16 Aug 2008 at 2:36

GoogleCodeExporter commented 9 years ago
Fixed in r138

Original comment by subim...@gmail.com on 21 Aug 2008 at 10:34