I modified the default category definition and I added a user field called "Classification". The field is an enum which values can only be "By Brand" or "By Product Type". I am trying to create a catalog page where you may have all the categories marked "By Brand" in a slider and the categories marked "By Product Type" in a list.
I cannot figure out how to look through all the categories marked as "By Brand", using an XSLT.
A trick is to output the XML structure using a xsl:copy-of in a textarea. It makes it much easier to figure out how to grab certain elements from the structure.
Filtering Categories by user defined fields
Hello,
I modified the default category definition and I added a user field called "Classification". The field is an enum which values can only be "By Brand" or "By Product Type". I am trying to create a catalog page where you may have all the categories marked "By Brand" in a slider and the categories marked "By Product Type" in a list.
I cannot figure out how to look through all the categories marked as "By Brand", using an XSLT.
Has anyone tried to do something similar before?
Thank you
Hi Frank,
You can do something along the lines of:
A trick is to output the XML structure using a xsl:copy-of in a textarea. It makes it much easier to figure out how to grab certain elements from the structure.
Hi Soren,
I can't believe you find the time to answer everybody's questions. Thank you that did the trick.
is working on a reply...