A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More

How to read product category Name at Confirmation Page

Vote:
 

Hello guys in my epi server site at order confirmation page I need to read the top or first category name of variant for each lineitems of order, I am using this details for Google analytics tracking so we can see whats the category where this product exists in.

I need to read it from the cache so this did'nt effect the performance,

I would really appreciate some sample code

Thanks

#54407
Oct 13, 2011 10:50
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.