How can I get the category id of the products ordered on the
success.phtml page. I have managed to get other bits of data but cant find the category id.
I need to check the category so i can post to a third parties API only if a product from a specific category has been purchased.
My OOP knowledge isn't the best. So please be patient lol