Ability to copy/duplicate an order (with and without association) #624
Replies: 2 comments
-
So we've had a bit of a private chat an so far we've come up withe a couple of possible options Option 1 - CreateFrom factory methodLook at introducing a new
Pros
Cons
Option 2 - CopyFrom instance methodLook at adding either a series of
Pros
Cons
|
Beta Was this translation helpful? Give feedback.
-
Why not allow the following
Where AppendAndUpdate means if the same product exists it merges the quantities together, if it does it adds it. I would have thought, though, that if you wanted to merge multiple orders, the only thing you'd want to merge would be the OrderLines? Basically the more I think about the more I would imagine you'd have a "base order" to copy from, but then you want to include the lines from another. I can imagine you'd want to include other stuff? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
It would be great if there was an easy way to "snapshot/copy/dupliate" an order with or without an association to the original.
Scenario.
Building a Wishlist mechanism where users of the site can save their basket to a wishlist (they can have multiple wishlists), where a wishlist is a snapshot of the basket at that point in time. When creating the snapshot you wouldn't want to associate it with the origin, but you might want to "load your snapshot" back into the basket, where in this case you'd want to keep the wishlist intact but duplicate it and create a relationship between it. This would allow you to see orders that originated from a wishlist.
Beta Was this translation helpful? Give feedback.
All reactions