Scott, Quick thinking answer : as you hesitate, did you think about a boolean with 2 code branches ? Even if in a 1st time you create only 1 branch... Using a cover if necessary.
Jacques > Hi All > > I'm still working on fixing editing/canceling orders and some of the > problems seem to be caused by loadCartFromOrder loading order items which > have been previously cancelled and recreateOrderAdjustments isn't expecting > this, also the cart itself seems to be qualifying promotions based on > cancelled items. > Question: > Should the cart load cancelled items and the code should know how to deal > with them or should cancelled items be left out of the cart altogether? > > Thanks > Scott >
