-
-
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
[Spree 2 Upgrade] Replace Order#shipping_method with Order#shipments #2009
Comments
It might to big of a PR to get all this done in one shot. Let's first investigate, post the outcomes and then we decide. We could create individual issues for each them and fix them bit by bit. |
Note from #2523 - when removing line items from a completed/finalised order, the shipments/stock_locations are updated in the order.contents.remove_variant method. This needs to be adapted. See #2523 for more details. |
Hey @luisramos0 the PR attached to this issue is merged, yet this is still in the code review column...can it be closed, or are you waiting on #2662 to be merged before it's done? If you're waiting, then suggest disconnecting #2654 and connecting #2662 instead. Or, if as it says in #2654 that it closes #2009 then go right ahead and close this 😄 |
Thanks for the heads up @daniellemoorhead I disconnected this from #2654 , 2654 is starting but not closing this one. There's more work to be done and it's not just 2662. Actually 2662 may not be necessary. What's still not done in this issue is to go through all the changes in the original PR #1651 and see what's still valid. This issue acceptance criteria is the absence of errors related to order#shipping_method. |
Ok, so I have reviewed everything in #1651 and created separate issues. Mostly around order.shipping_method_id and not order.shipping_method. What remains to be done as part of this issue is to fix the order_spec. |
Order#shipping_method
is gone in Spree 2.0, so any line of code that uses it in OFN will fail. We can provide the same behaviour but being spree-2.0 compatible without having to wait for a specific spree-2.0 branch 🤘The work has already been started in: #1651
The text was updated successfully, but these errors were encountered: