Timeline for Duplicate an existing Order as a new Cart in Commerce
Current License: CC BY-SA 3.0
8 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Nov 2, 2016 at 12:26 | comment | added | Stephen Hamilton | @MattWilcox Ah, thanks, only tested with 1 option per lineItem so didn't catch that! | |
Nov 2, 2016 at 12:14 | vote | accept | Matt Wilcox | ||
Nov 2, 2016 at 12:14 | comment | added | Matt Wilcox | Thanks! There was a slight bug in your code because you were nesting loops. I've corrected the code above. | |
Nov 2, 2016 at 12:13 | history | edited | Matt Wilcox | CC BY-SA 3.0 |
Fixed a minor bug in the looping logic
|
Nov 2, 2016 at 11:32 | comment | added | Stephen Hamilton | @MattWilcox I've updated my answer to include options and notes from the original order, that should now do what you need. | |
Nov 2, 2016 at 11:31 | history | edited | Stephen Hamilton | CC BY-SA 3.0 |
Updated the form to include options and any note from the old order.
|
Nov 2, 2016 at 11:04 | comment | added | Matt Wilcox | Getting the options duplicated are essential for this, unfortunately. I'll go from this and see where I get. Thanks! Update to follow... | |
Nov 2, 2016 at 10:41 | history | answered | Stephen Hamilton | CC BY-SA 3.0 |