-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Order state is not updated moving from '/cart' to '/checkout/address' #4079
Comments
Please try using the 2-0-stable branch and let us know if you are seeing the same issue. 2.0.3 is 4 releases behind the latest for that branch. On Mon, Dec 9, 2013 at 9:51 AM, Jincheng Li notifications@github.com
|
I remember someone brought this on the spree-users group a couple weeks ago. I think we need to call |
tried with 2-0-stable, same behavior. |
I wish I had an answer for that question other than "it seemed like a good idea at the time" 😉 I will see if the frontend component's tests complain about that change. If they don't, then it'd make sense to call |
It would seem this would be because an order cannot go from the |
Better still, it seems that the fix for this is relatively easy. Just move the |
Awesome! Thanks for the prompt response @radar ! |
This means that an email field can now be provided on either the cart or address forms More importantly, the 'state' field will now say 'address' when users reach that state, rather than 'cart' Fixes #4079
This means that an email field can now be provided on either the cart or address forms More importantly, the 'state' field will now say 'address' when users reach that state, rather than 'cart' Fixes #4079
This means that an email field can now be provided on either the cart or address forms More importantly, the 'state' field will now say 'address' when users reach that state, rather than 'cart' Fixes #4079
There might be an issue with this fix depending on how you view the checkout logic. When a customer clicks checkout on the /cart page but stops on the sign in page, the order state is one step ahead and changed to delivery. This can be misleading when you look at all the orders and analyze the conversion funnel. |
Version: 2.0.3
Behavior: When a user is signed in and clicks "Check Out" button on "/cart" page, the order's state remains "cart".
Repro Steps:
Possible Cause:
Although the "load_order" before_filter in CheckoutController changes the state to params[:state], it doesn't persist it.
The text was updated successfully, but these errors were encountered: