I'm trying to return the number of products in a loop and output this before the loop. The below always returns 0, so is there a way that I can delay outputting this until after it has finished the loop?I'm trying to return the number of products in
I'm trying to return the number of products in a loop and output this before the loop. The below always returns 0, so is there a way that I can delay outputting this until after it has finished the loop?I'm trying to return the number of products in