Can someone advise on how to loop through multiple ordered items when using a custom HTML order confirmation page. I can see a lot of documentation on how this is done via the block editors but nothing on how this would be done when using my own HTML page.
Additionally I saw someone else asked a similar question here however the chosen answer seems like it was again showing the person how to use the block editor which is not what I want to do.