product category in the cart

Good morning everyone!
In July 2025, I received help displaying the product category in the cart.
After the update, the files changed, but re-entering the codes doesn't work.
I'm probably missing a period or a comma, but I'm not good enough to figure out where the error is.
This is because I can't find the exact same codes in the cart.php file.
The link to my old request is as follows:
https://www.balbooa.com/help/forums/gridbox/ecommerce/product-category-in-the-cart
Thanks!!

Replies are visible only to logged in members with an active subscription.