Announcement: You can find the guides for Commerce 7.5 and later on the new Elastic Path Documentation site. This Developer Center contains the guides for Commerce 6.13.0 through 7.4.1.Visit new site

This version of Elastic Path Commerce is no longer supported or maintained. To upgrade to the latest version, contact your Elastic Path representative.

Categories

Categories

Categories are located below catalogs in the product hierarchy. Categories are used to organize products within a catalog, or within another category. Categories contain attributes that define how products are represented within the category. When a category is exported, the associated catalogs and parent categories (if any) are automatically exported.



Categories may also have associated assets, which can optionally be exported as well.



Sample XML: Categories


<categories>
<category mastercatalog="SNAPITUP">
    <parentcategory></parentcategory>
    <code>90000005</code>
    <name>
        <value language="en">Optics</value>
        <value language="fr">Optique</value>
    </name>
    <type>SnapItUp</type>
    <order>4</order>
    <availability>
        <storevisible>true</storevisible>
        <enabledate>2008-07-03T00:00:00-07:00</enabledate>
    </availability>
    <attributes>
        <attribute key="catImage">
            <value>cat-optics.jpg</value>
        </attribute>
        <attribute key="catDescription">
            <value language="en">&lt;p&gt;Bring life closer with the best telescopes and binoculars from great brands like Meade and Bushnell. Learn astronomy with beginner telescopes or master space with an advanced telescope.&lt;/p&gt;&lt;p&gt;Or, get close to birds and wildlife with spotting scopes and binoculars at great prices.&lt;/p&gt;</value>
            <value language="fr">Apportez la vie plus étroite avec les meilleurs télescopes et jumelles de grandes marques comme Meade et Bushnell. Apprenez l'astronomie avec des télescopes de débutant ou l'espace principal avec un télescope avançé.</value>
        </attribute>
    </attributes>
    <seo>
        <url>
            <value language="en"></value>
            <value language="fr"></value>
        </url>
        <title>
            <value language="en"></value>
            <value language="fr"></value>
        </title>
        <keywords>
            <value language="en"></value>
            <value language="fr"></value>
        </keywords>
        <description>
            <value language="en"></value>
            <value language="fr"></value>
        </description>
    </seo>
    <linkedcategories>
        <linkedcategory virtualcatalog="SNAPITUPUK">
            <order>4</order>
            <excluded>false</excluded>
        </linkedcategory>
        <linkedcategory virtualcatalog="SLRWORLDCATALOG">
            <order>4</order>
            <excluded>false</excluded>
        </linkedcategory>
        <linkedcategory virtualcatalog="SNAPITUPUS">
            <order>4</order>
            <excluded>false</excluded>
        </linkedcategory>
    </linkedcategories>
</category>
...
</categories>