• Resolved gostomek

    (@gostomek)


    How can I mapped categories if my supplier has in XML file like this:

    <categories>
    <category level="0">
    <![CDATA[Sztu?ce]]>
    </category>
    <category level="1">
    <![CDATA[Sztu?ce Fine Dine]]>
    </category>
    <category level="2">
    <![CDATA[Amarone Gold]]>
    </category>
    <category level="1">
    <![CDATA[Sztu?ce wg zastosowań]]>
    </category>
    <category level="2">
    <![CDATA[No?e sto?owe]]>
    </category>
    <category level="1">
    <![CDATA[Marki]]>
    </category>
    <category level="2">
    <![CDATA[Fine Dine]]>
    </category>
    <category level="1">
    <![CDATA[Sztu?ce kolorowe PVD]]>
    </category>
    <category level="2">
    <![CDATA[Sztu?ce z?ote]]>
    </category>
    <category level="1">
    <![CDATA[Sztu?ce wg materia?u]]>
    </category>
    <category level="2">
    <![CDATA[Stal nierdzewna 18/10]]>
    </category>
    <category level="0">
    <![CDATA[ZASTAWA STO?OWA]]>
    </category>
    <category level="1">
    <![CDATA[Sztu?ce]]>
    </category>
    <category level="2">
    <![CDATA[No?e]]>
    </category>
    </categories>

    The page I need help with: [log in to see the link]

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Support dominikl65

    (@dominikl65)

    Hi,

    I would like to ask what effect you would like to achieve on the site, what would these categories look like? Would it be a category tree based on the principle:
    Level1 → Level2 → Level3? Or in some other way?

    In the uploaded file, there are a number of category trees that have a structure with the same level.

    Thread Starter gostomek

    (@gostomek)

    Hi,

    I mean that will be good to automatically made categories like:
    level 0->level 1->level 2
    Sztu?ce -> Sztu?ce Fine Dine -> Amarone Gold
    level 1->level 2
    Sztu?ce wg zastosowań -> No?e sto?owe
    level 1->level 2
    Marki -> Fine Dine
    level 1->level 2
    Sztu?ce kolorowe PVD -> Sztu?ce z?ote
    level 1->level 2
    Sztu?ce wg materia?u – > Stal nierdzewna 18/10
    level 0->level 1->level 2
    ZASTAWA STO?OWA ->Sztu?ce -> No?e

    Plugin Support dominikl65

    (@dominikl65)

    Hi,

    I have consulted with the developer and unfortunately, based on the kind of file structure you uploaded, this is unfortunately not feasible. I would recommend contacting the wholesaler to correct/change the structure in the XML file.

    Thread Starter gostomek

    (@gostomek)

    Hi,

    ok I understand it is mot possbile to get all.

    Maybe it will be ok to handle it only first lines:

    level 0->level 1->level 2
    Sztu?ce -> Sztu?ce Fine Dine -> Amarone Gold

    Plugin Support dominikl65

    (@dominikl65)

    Hi,

    Unfortunately, this will not be possible due to this file structure. I would recommend contacting the wholesaler to correct the file structure – unfortunately, without this, it will not be possible to import the category tree as you would like to realize.

    Thread Starter gostomek

    (@gostomek)

    Dear @dominikl65,

    so could you please provide example how the structure of categories should be?

    Plugin Support dominikl65

    (@dominikl65)

    Hi gostomek,

    If you want to use and create a category tree, then this structure would be appropriate: https://monosnap.com/file/1WGxwUKmpYAW171O6AvtPP0exMutR1

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Problem with mapping categories’ is closed to new replies.