{"section":"known-issues","requestedLocale":"en","requestedSlug":"product-category-information-from-datalayer-with-a-wrong-sorting","locale":"en","slug":"product-category-information-from-datalayer-with-a-wrong-sorting","path":"docs/en/known-issues/Checkout/product-category-information-from-datalayer-with-a-wrong-sorting.md","branch":"main","content":"## Summary\n\n\nThe product category information in the dataLayer at checkout pages is shown in the wrong sorting. This is represented by the \"categoryTree\" property.\n\nThey'll follow their IDs, sorted from low to high, which may not represent the expected hierarchy for this information.\n\n\n##\n\n## Simulation\n\n\nAdd a product to the cart and compare the properties \"productCategoryIds\" and \"productCategories\" from the orderForm with the property \"categoryTree\" from the dataLayer.\n\n\n##\n\n## Workaround\n\n\nThe same information can be retrieved from the orderForm API instead of the dataLayer."}