I figured it out. The "for" statement needed to be in the same function that created the child (sendShirtToCheckout). I had it elsewhere. Problem solved!