Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hi
How Can I get all the categories within a catalog recursilvely? i.e. get all the categories tree within a catalog?
Nauman
After some research, I managed to do it myself not recursive though, but it brings all the categories in a catalog.
<xsl:variable name="categories" select="CommerceLibrary:GetRootCategories('Catalog Name')"/> <xsl:for-each select="$categories/categories/category"><xsl:value-of select="@name"/> </xsl:for-each>
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Get all Categories recursively
Hi
How Can I get all the categories within a catalog recursilvely? i.e. get all the categories tree within a catalog?
Nauman
After some research, I managed to do it myself not recursive though, but it brings all the categories in a catalog.
is working on a reply...