Adding a Customer Tag IF they purchase $25 or more products with their own product tag?

I’m curious if you know what the solution is, why you don’t add it as a response instead of me struggling.

I don’t know how to loop over each array or I would have done it.